Advertisement

TrimwebsolutionsTrimwebsolutions

Problem and Solutions

Get absolute time using result of System.currentTimeMillis in android ?

By M.K. Verma · 4 May 2022

Get absolute time using result of System.currentTimeMillis in android ?

You need to specify the TimeZone your SimpleDateFormat object uses with setTimeZone(TimeZone.UTC).