Re: [PHP] strtotime woes

2010-05-05 Thread Philip Thompson
On May 5, 2010, at 10:12 AM, Peter Lind wrote: > On 5 May 2010 16:58, Philip Thompson wrote: >> Hello all. >> >> Long time no see! Anyway, I'm having an issue with strtotime(). Why do the >> following return valid timestamps? >> >> > echo strtotime ('a').': '.date ("m/d/Y", strtotime ('a')).""

Re: [PHP] strtotime woes

2010-05-05 Thread Peter Lind
On 5 May 2010 16:58, Philip Thompson wrote: > Hello all. > > Long time no see! Anyway, I'm having an issue with strtotime(). Why do the > following return valid timestamps? > > echo strtotime ('a').': '.date ("m/d/Y", strtotime ('a')).""; > echo strtotime ('a,a').': '.date ("m/d/Y", strtotime ('

[PHP] strtotime woes

2010-05-05 Thread Philip Thompson
Hello all. Long time no see! Anyway, I'm having an issue with strtotime(). Why do the following return valid timestamps? "; echo strtotime ('a,a').': '.date ("m/d/Y", strtotime ('a,a')).""; echo strtotime ('a,a,a').': '.date ("m/d/Y", strtotime ('a,a,a')).""; ?> These result in today's date: 1