[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)
I've got no option but to sell you all for scientific experiments. Or a tiny ad:
ScroogeXHTML 7.1 - RTF to HTML5 / XHTML converter
https://coderanch.com/t/690611/ScroogeXHTML-RTF-HTML-XHTML-converter


This thread has been viewed 3333 times.

All times above are in ranch (not your local) time.
The current ranch time is
Feb 18, 2018 20:28:21.