In general, you need to change the date in the database, from UNIX to normal.
Try so
Дата в колонке date: 1477903122 UPDATE `order` SET `date` = FROM_UNIXTIME(date) where `id` = 698; I am updated record on the date: 2016-10-31 10 : 38: 42
And if through php I deduce the date, then it displays: 2016-10-31 11 : 38: 42
Servers are on the same car, pkhp and apache.
select current_timestamp();// Выводит: 2016-10-31 11:38:52 I would like that in sql would change to the date as in php, because it writes correct in php ...