is there a more tidy way of getting the time of day in seconds than this?Like is there a way to format the time in seconds without having to do this.PHP Code:$time = explode(":", gmdate("H:i:s"));
$secs = ((($time[0] * 60) + $time[1]) * 60) + $time[2];
Thanks![]()




Bookmarks