php Warning: strtotime() Error

后端 未结 4 1236
无人及你
无人及你 2021-01-19 10:09

I have changed my joomla and wordpress files from old server to new server. In the front end and admin side its working without any errors. But in the Database (phpmyadmin)

4条回答
  •  爱一瞬间的悲伤
    2021-01-19 10:27

    The best way is setting a default Time Zone. In config.inc.php file, insert one line with:

    date_default_timezone_set('America/Sao_Paulo');
    

    In my case I use "America/Sao_Paulo" in your case I think is "Asia/Calcutta"

    For more details about Time Zones, visit http://php.net/manual/en/function.date-default-timezone-set.php

提交回复
热议问题