Re: british date format
| From: | André Medeiros | Date: | Fri, 09 May 2008 14:22:32 +0000 |
| Subject: | Re: british date format | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-274070@lists.php.net to get a copy of this message | ||
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@ansta.co.uk> 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
>
>