|
| Iniciado por guest, 30,sep. 2016 11:55 - 1 respuesta |
| |
| | | |
|
| |
| Publicado el 30,septiembre 2016 - 11:55 |
Dear all
I was wondering if anyone knows how to retrieve the timezone from an Android or iOS with WM21. I want to store the timezone in the database just to make sure no notifications are sent during the night.
Thanks a lot Sarah |
| |
| |
| | | |
|
| | |
| |
| Publicado el 30,septiembre 2016 - 14:44 |
Hi
Quickest way is to use functions
HTTPRequest("https://maps.googleapis.com/maps/api/timezone/json…")
and you will see json (with httpGetResult) value like
{ "dstOffset" : 3600, "rawOffset" : -25200, "status" : "OK", "timeZoneId" : "yr country", "timeZoneName" : "yrTimeZone" }
Hm..., you have to write your own wrapper func instead or a wishlist for wm22
HTH
King |
| |
| |
| | | |
|
| | | | |
| | |
|