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)
date_default_timezone_set('Europe/London');
try this PHP code may be your problem has solve ...
See how to use error_reporting, http://php.net/manual/en/function.error-reporting.php
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
Do you really just want to hide the error message or do you want to solve the problem, they're indicating?
On your new server, you should find a setting date.timezone
in your php.ini
file commented out. Here, you have to specify the timezone your server is located in. For instance, my server is located in Germany, so I use Europe/Berlin
here:
date.timezone = Europe/Berlin
You find a complete list of supported timezones here:
http://www.php.net/manual/en/timezones.php
After changing this setting, restart your web server and the warnings should be gone.