Stop Warning: date() [function.date]: from localhost

后端 未结 5 1389
半阙折子戏
半阙折子戏 2021-02-19 20:09

Warning: date() [function.date]: It is not safe to rely on the system\'s timezone settings. You are required to use the date.timezone setting or the date

5条回答
  •  鱼传尺愫
    2021-02-19 20:30

    It works by setting

    date.timezone = Asia/Calcutta
    

    For details go to: PHP Documentation - Asia Timezones

提交回复
热议问题