Discussion: british date format
Afficher un message
Vieux 09/05/2008, 16h40   #4
André Medeiros
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Re: british date format

Shawn,

I think the idea here was to get a timestamp from a date in that
format he was telling about.

After replying however, I noticed that strptime is only implemented in
PHP5. Sorry about that mate.

On Fri, May 9, 2008 at 2:36 PM, Shawn McKenzie <nospam@mckenzies.net> wrote:
> Merca, Ansta Ltd wrote:
>>
>> Hi
>>
>> Anyone "dd/mm/yyyy" as a date variable? strtotime - works fine with
>> "mm/dd/yyyy" but now with "dd/mm/yyyy". (PHP 4.x)

>
> setlocale()
>
> and then...
>
> http://pt.php.net/manual/en/function.strftime.php
>
> -Shawn
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

  Réponse avec citation
 
Page generated in 0,06046 seconds with 9 queries