Posted on 2009-05-19
I know this has been posted before, but I can't seem to find it. I am doing some adding and subtracting of dates and need to display them on the screen in an HTML format. If, for example, I have the date
02/03/09 3:15 a.m. and need to subtract 5 hours from it (the number of hours will vary), how can I do this and make sure the date/time are truly a real date and time in the past?