Date/Time Arithmetic
| From: | Erich Reimberg N. | Date: | Wed, 11 Apr 2001 16:56:08 +0000 |
| Subject: | Date/Time Arithmetic | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-48183@lists.php.net to get a copy of this message | ||
Hello,
Is it possible to do some arithmetic with time/date values in PHP?
for example, to calculate:
today + 1050 days.
today - 7 days.
etc.
I mean, does PHP have functions to perform these operations?
Thanks,
Erich Reimberg.
PS. I'm new to PHP, and I didn't find anything like this in the FAQ
Please Cc to my email: ereimber@multinet.cl, for there are many
posts in this group that my server seems to loose.