<?php // http://3v4l.org/AvdDZ $d = new DateTime("7:00", new DateTimeZone("Asia/Shanghai")); echo $d->format("Y-m-d H:i:s");