<?php

date_default_timezone_set("PRC"); //不加会出错

$timestamp = "1552320000";
$today = date('Y-m-d', $timestamp);

echo $today;

?>