$now = mktime(date("h"),date("i"),date("s"),date("m"),date("d"),date("Y")); echo "now is ".date("Y/m/d h:i:s", $now);