GMT time for live tracking

joeloc shared this question 2 years ago
Answered

Is there any way I can make Locus send a GMT time instead of a localized time to a live tracking server?

Comments (1)

photo
1

Good day Stefan,


time send over Live tracking supports formatting defined in SimpleDataFormat java class. More about it is here: http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html . This formatting allows to defined format where also timezone will be included. If you have own server solution for live tracking, best is to read timezone from received time and use it as you need.


Generally, better method is to received time with timezone, then time already converted to UTC+0. First option gives you a lot more freedom.