tigrot Well-Known Member Licensed User Longtime User Mar 10, 2017 #1 Hi everybody, I've seen that Message.SentTime we get in message received event is espressed as local time from the originating device. Is it part of the standard informations packet sent by Google or is it handled and sent by B4A Firebase library? A UTC date-time would be better... Thank you! Mauro
Hi everybody, I've seen that Message.SentTime we get in message received event is espressed as local time from the originating device. Is it part of the standard informations packet sent by Google or is it handled and sent by B4A Firebase library? A UTC date-time would be better... Thank you! Mauro
Erel B4X founder Staff member Licensed User Longtime User Mar 12, 2017 #2 Message.SentTime returns the time as ticks. This means that it is already a UTC time. Only when you convert it to a string, the device time zone is applied. Upvote 0
Message.SentTime returns the time as ticks. This means that it is already a UTC time. Only when you convert it to a string, the device time zone is applied.
tigrot Well-Known Member Licensed User Longtime User Mar 12, 2017 #3 Thank you very much, that's what i missed. I looked at the converted string not thinking that this introduces a localization. Upvote 0
Thank you very much, that's what i missed. I looked at the converted string not thinking that this introduces a localization.