Re: [PHP] Bilingual strtotime()

2011-02-07 Thread Per Jessen
Alexis wrote: So basically, the answer is no :) Looks like I'll simply do a replace of the French named months with English ones. Would have thought the length of time that PHP has been around and with people around the world, speaking more than just one language, that language support

Re: [PHP] Bilingual strtotime()

2011-02-06 Thread Per Jessen
Alexis wrote: On 05/02/11 13:23, Per Jessen wrote: 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

Re: [PHP] Bilingual strtotime()

2011-02-06 Thread Per Jessen
Alexis wrote: 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? Ah, I misread this earlier - strtotime(), not strftime(). You're talking about transforming from text to a locale()-neutral format. I don't

Re: [PHP] Bilingual strtotime()

2011-02-06 Thread Peter Lind
On Feb 6, 2011 11:16 AM, Per Jessen p...@computer.org wrote: Alexis wrote: 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? Ah, I misread this earlier - strtotime(), not strftime(). You're talking

Re: [PHP] Bilingual strtotime()

2011-02-06 Thread Ashley Sheridan
On Sun, 2011-02-06 at 11:24 +0100, Peter Lind wrote: On Feb 6, 2011 11:16 AM, Per Jessen p...@computer.org wrote: Alexis wrote: 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? Ah, I misread

Re: [PHP] Bilingual strtotime()

2011-02-06 Thread Alexis
On 06/02/11 04:54, Ashley Sheridan wrote: On Sun, 2011-02-06 at 11:24 +0100, Peter Lind wrote: On Feb 6, 2011 11:16 AM, Per Jessenp...@computer.org wrote: Alexis wrote: I was wondering if there was a way to use the strtotime() function when the months are in one or the other of the

Re: [PHP] Bilingual strtotime()

2011-02-06 Thread Raymond Irving
/raxan/pdi/shared/raxan.datetime.php Best regards,__Raymond --- On Sun, 2/6/11, Alexis phplis...@antonakis.co.uk wrote: From: Alexis phplis...@antonakis.co.uk Subject: Re: [PHP] Bilingual strtotime() To: Cc: php-general@lists.php.net Date: Sunday, February 6, 2011, 3:38 PM On 06/02/11 04:54

Re: [PHP] Bilingual strtotime()

2011-02-05 Thread Per Jessen
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,

Re: [PHP] Bilingual strtotime()

2011-02-05 Thread Alexis
On 05/02/11 13:23, Per Jessen wrote: 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

Re: [PHP] Bilingual strtotime()

2011-02-05 Thread David Hutto
Either form should be day/month/year/time, or somewhere in that order. From what i know, it shouldn't change much no matter the language. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Bilingual strtotime()

2011-02-05 Thread David Hutto
Just check for the initial difference you see in the formats of either. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php