Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
<?php echo date('m/d/Y',time());?>
回声
07/13/2013
什么时候应该回声
07/12/2013
是否有我应该更改的服务器配置,如果有我在哪里可以找到它?谢谢 我的时区是 (UTC-08:00) 太平洋时间(美国和加拿大)
查看date_default_timezone_set:
例子:
date_default_timezone_set('America/Los_Angeles');