[PHP] Date/Time Arithmetic

2001-04-11 Thread Erich Reimberg N.
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

RE: [PHP] Date/Time Arithmetic

2001-04-11 Thread Boget, Chris
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 //