Problem and Solutions
Get absolute time using result of System.currentTimeMillis in android ?
By M.K. Verma · 4 May 2022

You need to specify the TimeZone your SimpleDateFormat object uses with setTimeZone(TimeZone.UTC).
Advertisement
Problem and Solutions
By M.K. Verma · 4 May 2022

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