>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?
$oneDay = 86400; // number of seconds in a day
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 t
2 matches
Mail list logo