I am trying to use the PHP strtotime() function in this manner
$testdate = strtotime('1969-12-31');
in order to return a UNIX timestamp.
My understanding is that UNIX time stamps can be negative to indicate
dates prior to 1 Jan 1970.
Is this assumption correct?
The problem is that any valid date prior to 1 Jan 1970 causes the function
to fail and return the value -1 and that is taken as a valid timestamp.
What function should I be using to get a timestamp for a date prior to 1
Jan 1970?
--
Howard.
LANNet Computing Associates - Your Linux people <http://www.lannetlinux.com>
------------------------------------------
Flatter government, not fatter government - Get rid of the Australian states.
------------------------------------------
I before E except after C. We live in a weird society!
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug