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 large negative number,
> which would be more reasonable, i think.
> The question is: How can I know the number of seconds ellapsed between any
> date in the past and today?
> 
> Thanks in advance.
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

--
Monte Ohrt <[EMAIL PROTECTED]>
http://www.ispi.net/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to