There is a time variable, it stores seconds that need to be converted to the format HH: mm. The problem is that when using SimpleDateFormat or manual translation, the result is 00:00, even if 10 minutes have passed. Help pliz.
With this code example displays only seconds. (1 minute 3 seconds passed, displays "00:03" instead of "01:03")
DateFormat format = new SimpleDateFormat("mm:ss") ; format.setTimeZone(TimeZone.getTimeZone("UTC")); result= format.format(new Date(time*1000));
format.setTimeZone(TimeZone.getTimeZone("UTC"));- Alex Chermenin