Re: [PHP] Strtotime() weirdness

2004-06-02 Thread Burhan Khalid
Alex Hogan wrote: Does anybody know of any peculiarities in the strtotime() function? If I enter any date before 1 Jan 1970 I get a -1 returned. Note: The valid range of a timestamp is typically from Fri, 13 Dec 1901 20:45:54 GMT to Tue, 19 Jan 2038 03:14:07 GMT. (These are the dates that

[PHP] Strtotime() weirdness

2004-06-01 Thread Alex Hogan
Does anybody know of any peculiarities in the strtotime() function? If I enter any date before 1 Jan 1970 I get a -1 returned. alex hogan * The contents of this e-mail and any files transmitted with

Re: [PHP] Strtotime() weirdness

2004-06-01 Thread Daniel Clark
http://us3.php.net/manual/en/function.strtotime.php Note: The valid range of a timestamp is typically from Fri, 13 Dec 1901 20:45:54 GMT to Tue, 19 Jan 2038 03:14:07 GMT. (These are the dates that correspond to the minimum and maximum values for a 32-bit signed integer.) Additionally, not all

[PHP] Strtotime weirdness

2003-03-26 Thread Liam Gibbs
When I have a date, March 31, 2003, and I want to subtract 1 month using strtotime, I find it will literally subtract a month, so March 31, 2003 minus one month will result in February 31, 2003, or rather, March 3, 2003. Is there any way of making March 31, 2003 minus one month equal February