如果要使用超出32位整数日期范围的日期,请使用PHP的dateTime对象
try { $date = new DateTime('2110-07-16 10:07:47');} catch (Exception $e) { echo $e->getMessage(); exit(1);}echo $date->format('Y-m-d');
如果要使用超出32位整数日期范围的日期,请使用PHP的dateTime对象
try { $date = new DateTime('2110-07-16 10:07:47');} catch (Exception $e) { echo $e->getMessage(); exit(1);}echo $date->format('Y-m-d');