Android Long to Date Convert millisToString(long l)

Here you can find the source of millisToString(long l)

Description

millis To String

Declaration

public static String millisToString(long l) 

Method Source Code

//package com.java2s;

public class Main {
    public static String millisToString(long l) {
        return String.format("%02d:%02d:%02d", (l / 1000) / 60,
                (l / 1000) % 60, (l / 10) % 100);
    }/*from w  ww. j  a v  a  2s  . c  o m*/
}

Related

  1. millToDate(Long mill)
  2. toDateFromTimestamp(long date)
  3. transMillionToTime(long milliseconds)
  4. transformDateTime(long t)
  5. millis2cal(long milliseconds, boolean clearTime)
  6. stdDateFormat(long t)
  7. formatElapsedTime(long totalTimeSeconds)
  8. formatSecondsToHHMM(long seconds)
  9. getStringByFormat(long milliseconds, String format)