Re: [PHP] mktime() not allowing dates before 1970

2001-01-25 Thread Monte Ohrt
use Date_Calc. http://www.phpinsider.com/php/code/Date_Calc/ Diego Fulgueira wrote: > > I know the UNIX epoch is 1/1/1970 and that mktime() returns the number of > seconds between that date and the date specified by its parameters. If this > date is before 1/1/1970, it always returns -1, not a

[PHP] mktime() not allowing dates before 1970

2001-01-25 Thread Diego Fulgueira
I know the UNIX epoch is 1/1/1970 and that mktime() returns the number of seconds between that date and the date specified by its parameters. If this date is before 1/1/1970, it always returns -1, not a large negative number, which would be more reasonable, i think. The question is: How can I know