Hello all, i need some help with implementing timeoffset. I'm working on an app that will be used in different timezones, the app will communicate with a server and the server will send a response with the current timezone, i'm using Erel's DateUtils library and so far it works very good, i'am using.
this works great with an offset of -5, -7, +5 but what about if the offset is +5:30, how can i use this with this code, since the timezone parameter has to be an integer?
Any suggestions?
Thanks,
Walter
B4X:
DateUtils.SetDateAndTime(year, month, day, hour, min, secs, timezone)
this works great with an offset of -5, -7, +5 but what about if the offset is +5:30, how can i use this with this code, since the timezone parameter has to be an integer?
Any suggestions?
Thanks,
Walter