Today Date Showing Wrong in Live Sever in PHP

Here I found Today Date/ Current date Showing Wrong in Live Server In My PHP application, but in my localhost, it is showing correctly. How this could be possible Date function Not Working in PHP. Yes, I would say sometimes we have to set Time Zone in our config page or Head section on PHP.

See how to set Time Zone:

For me:

 

 

Tags:

Advertisements
Advertisements-1
Advertisements-2
Advertisements-3