I am getting the wrong timestamp format/timezone in return from MySQL. In MySQL the time is accurate and correct but when I select it from MySQL I get it like this
2020-03-22T19:00:04.000000Z
However, I have this in my database table
2020-03-22 07:00:02
The query which I am using to fetch results from db is:
Stats::select('created_at','total_cases','recovered','critical','deaths','islamabad' ,'punjab','sindh','kp','balochistan','ajk','gb')->whereDate('created_at', $date)->get();