anoopk350

Well-Known Member
May 6, 2020
101
12
18
Chennai
cPanel Access Level
Root Administrator
I have noticed that the timestamp is taken in mysql is wrong for columns under type current_timestamp and it 3 hrs back to the actual time.

Steps taken :
1. Added date_default_timezone_set("Asia/Kolkata"); in PHP - It works only for php scripts

I have columns in table with timestamp type. Those fields are updated based on server clock and it is 3 hrs backward.