如果系统没有设置时区,那么获得的结果是UTC时间,相对中国用户来说,就是相差了8个小时
https://github.com/dannyhu926/php-utils/blob/master/Utils/Dates.php
date_create_from_format
如果系统没有设置时区,那么获得的结果是UTC时间,相对中国用户来说,就是相差了8个小时
https://github.com/dannyhu926/php-utils/blob/master/Utils/Dates.php