Re: Bilingual strtotime()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alexis wrote:

> Hi,
> 
> Living in Canada, and being a bilingual country, I have data I am
> processing which includes dates in both English and French.
> 
> I was wondering if there was a way to use the strtotime() function
> when the months are in one or the other of the above two languages?

Sure, strftime() is locale-sensitive. Set the locale().



-- 
Per Jessen, ZÃrich (4.4ÂC)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux