Re: british date format

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

 



Try this:

http://pt.php.net/manual/en/function.strptime.php

Use the result with mktime to get the timestamp. I also checked
set_locale but that won't interfere with strtotime :(

On Fri, May 9, 2008 at 9:58 AM, Merca, Ansta Ltd <merca@xxxxxxxxxxx> 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)
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
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