I made the mistake of using strtotime("day") instead of strtotime("today")
to get the current time.
I was just curious, what is strtotime("day") represent?
Below is what I used to test the "day" and "today" parameters:
Testing One Minute Difference<br> <? echo min_diff(); function min_diff() { $now = strtotime("today");//Return value is 60 //$now = strtotime("day");//Return value is 86400 $onemin = strtotime("-1 minute"); return $now-$onemin; } ?>
Thanks in advance. -Gohaku