I need to get timestamp with seconds set to 00. I do this like this:
$time = time();
$time = substr($time, 0, strlen($time) - 2) . '00';
But the result is still with seconds, for example:
- 1384512500 2013-11-15 12:48:20
- 1384512400 2013-11-15 12:46:40
How to remove seconds or set it to 00 ?