1
2
3
$dt = new DateTime("now", new DateTimeZone('Asia/Shanghai'));
$dt->setTimestamp(time());
echo $dt->format('d.m.Y, H:i:s');