1条回答 默认 最新
dsf8897 2015-08-04 16:37关注You can get the timezone with the
ini_get()function:ini_get('date.timezone');By the way you should always set the default timezone at the beginning of your scripts. You could do it like this:
date_default_timezone_set(ini_get('date.timezone'));本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
