Tracker to Web Log time difference

prowebuk9 years ago

Hi Anton,

I'm experiencing a time difference from my TK103 to the web interface as follows:

traccar log, device fix time matches server time

2015-07-31 17:19:23 INFO: device: 1, time: Fri Jul 31 17:19:40 BST 2015, lat: 53.17533666666667, lon: -1.0429983333333332

SQL:

1 2015-07-31 17:19:23 2015-07-31 17:19:40 2015-07-31 17:19:40 1 53.17533666666667 -1.0429983333333332

Web interface shows time as: 2015-07-31 18:19:40

Would be very grateful for some assistance with your fantastic software.

Many thanks

Richard

Anton Tananaev9 years ago

Under the hood Traccar always uses UTC time. In the log file, it converts time to local server time automatically. In the database, the time should be in UTC as well, but possibly database tool convert it to local when you query it. Web interface again gets time in UTC and should convert it to local system time zone by browser. I guess the problem is somewhere on the computer from where you open web interface. Check time zone settings there.