Forum Moderators: coopster
mktime [us2.php.net]
To subtract minutes you'd subtract from the second argument.
[edited by: mooger35 at 9:45 pm (utc) on June 17, 2009]
Sorry... edit that.
If you are subtracting 30 from minutes and using 0 for hour then you would get the following.
current minutes 0 -> 29 = yesterday's date
current minutes 30 -> 59 = today's date