|
Posted by Carl on 11/05/86 11:22
Sugapablo wrote:
> From the manual, it seems negative timestamps should work on Linux, just
> not Windows.
>
> But anything I try before 1970, (i.e. a negative timestamp) is giving me
> 12/31/1969.
>
> Is this right?
>
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"
Navigation:
[Reply to this message]
|