[Logo]
Forums Register Login
Converting long timestamp to utc long timestamp.
How long timestamp geted with System.currentTimeMillis() can be converted to UTC long timestamp?
I googled "UTC long timestamp" and didn't get a clear idea of what that means. So... what is it?
I think its- long value of timestamp(milliseconds) in UTC timezone. You can try using SimpleDateFormat class- where you can specify the format and the timezone. Obtain the Date object from that and then you can get the timestamp in milliseconds(long value)
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards


This thread has been viewed 3579 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jun 22, 2018 22:52:33.