|
Posted by Peter van Schie on 11/15/80 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?
>
Yes mktime doesn't support dates before 1970 and after 2037.
If you really need it, you could use an extension like:
http://nl2.php.net/calendar
--
http://www.phpforums.nl
Navigation:
[Reply to this message]
|