A
A
Anton2016-10-20 19:05:06
ubuntu
Anton, 2016-10-20 19:05:06

How to set the time on the server?

$ sudo dpkg-reconfigure tzdata
[sudo] password for user_name: 

Current default time zone: 'Europe/Moscow'
Local time is now:      Thu Oct 20 19:02:46 MSK 2016.
Universal Time is now:  Thu Oct 20 16:02:46 UTC 2016.

In the database, records are set to 16 hours, although now it is 19 hours.
How to fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2016-10-21
@Tabletko

Perhaps the database uses UTC time

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question