John Nichel wrote:

Marten Lehmann wrote:

Hello,

I'm used to work with Date::Calc in Perl. How can I calculate with dates in PHP, like adding an hour or a year to a date?

Regards
Marten


http://us3.php.net/mktime


You could also use the PEAR Date package. I have used it in a few projects to help with manipulating dates.

http://pear.php.net/package/Date

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to