- time: documentation ( source)
- date: documentation ( source)
- strtotime: documentation ( source)
<?php
$format = "Y/m/d H:i:s";
echo date($format, strtotime('2014/09/26 23:59:59'));
echo "\n\r";
echo time();
echo "\n\r";
echo date(strtotime('2014/09/26 23:59:59'));