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 ...