Jack Cole Well-Known Member Licensed User Longtime User May 26, 2021 #1 This is a very basic question. I'm writing a procedure to synchronize data between a local sqlite table and remote MS SQL table. I was going to use the GMT formatter to convert the device local time to GMT to have a fixed reference point. There are some steps that would be unnecessary if the Ticks value you get from DateTIme.Now is based on GMT. All that to ask: Is the tick value returned by DateTime.Now based on GMT or is it based on the device time zone?
This is a very basic question. I'm writing a procedure to synchronize data between a local sqlite table and remote MS SQL table. I was going to use the GMT formatter to convert the device local time to GMT to have a fixed reference point. There are some steps that would be unnecessary if the Ticks value you get from DateTIme.Now is based on GMT. All that to ask: Is the tick value returned by DateTime.Now based on GMT or is it based on the device time zone?
Erel B4X founder Staff member Licensed User Longtime User May 27, 2021 #2 Based on GMT. Ticks = number of milliseconds since 1/1/1970 00:00 GMT. Upvote 0