samedi 3 septembre 2016

How do I get my device's timezone and daylight savings?

I have searched the forums, but have not come across what I'm looking for yet. I need to get the current time zone offset and daylight savings info of the user's device.

ie, if I'm in Seattle, I would need to get "-8" back as the time zone offset.

I also need to determine if daylight savings is in effect on the device or not.

How can I get this from the device?

Thanks!

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1QC2jjG
via IFTTT

Aucun commentaire:

Enregistrer un commentaire