Good evening,
I was wondering how I can get the universal GMT time from any android device.
I can extract the current date, and the time zone offset.
But what is the simpliest way of getting the GMT time in two strings, one with the date and the other with the time (24h format)?
Is the offset suposed to be added to the current time (that is, eastern regions have negative offsets)? But how can I subtract the offset from a date?...
Sorry for disturbing.
Kind regards,
Kepler
I was wondering how I can get the universal GMT time from any android device.
I can extract the current date, and the time zone offset.
But what is the simpliest way of getting the GMT time in two strings, one with the date and the other with the time (24h format)?
Is the offset suposed to be added to the current time (that is, eastern regions have negative offsets)? But how can I subtract the offset from a date?...
Sorry for disturbing.
Kind regards,
Kepler