Re: [PHP] Re: strtotime - assumptions about default formatting of dates

2009-12-24 Thread Angus Mann
I wrote a little AJAX gadget which sent the string typed to a PHP backend which parsed it using strtotime and then formatting it out again as something unamiguous (like 2 January 2009). Then every time the date entry field is changed by the user (with an onKeyUp event), this AJAX call is trigge

[PHP] Re: strtotime - assumptions about default formatting of dates

2009-12-24 Thread Pete Ford
On 24/12/09 12:20, Angus Mann wrote: Hi all. I need to allow users to enter dates and times, and for a while now I've been forcing them to use javascript date/time pickers so I can be absolutely sure the formatting is correct. Some users are requesting to be able to type the entries themselves