I am trying to find a good way to get the current time/date, and then get that time 5 minutes delayed. This is what I am doing to get the current date/time.
$format = "YmjHi"; // Change timezone to GMT. date_default_timezone_set("GMT"); $gmttime = date($format);
I am new to PHP, but I was hoping there is an easy way for me to subtract a given amount of time from the date/time.
This post has been edited by SimonSays: 22 September 2012 - 02:28 PM