Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
July 26, 2005, 4:00 pm
rate this thread
But anything I try before 1970, (i.e. a negative timestamp) is giving me
Is this right?
[ Sugapablo ]
[ http://www.sugapablo.net <--personal | http://www.sugapablo.com <--music ]
[ http://www.2ra.org <--political | http://www.subuse.net <--discuss ]
Re: mktime and negative timestamps (on linux, not windows).
How exactly are you setting the timestamp value?
The following works fine for me (FreeBSD):
$timeStamp = mktime(0, 0, 1, 1, 1, 1965);
echo date("l dS of F Y h:i:s A", $timeStamp);
prints "Friday 01st of January 1965 12:00:01 AM"