samedi 3 février 2018

why mysql store date one day back?

my problem is ,i am storing date into mysql table using laravel framework. but problem is that it is being store one day back. For example if i want to store date like 2018-02-14 then it is being store as 2018-02-13 . why ?
i have set time zone 'Asia/kolkata' in config/app/php. my user table dob field type is date.

so please tell me what is going wrong?.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire