Here you can find the source of getUTCTimeFromElapsedTime(long elapsedTime)
public static String getUTCTimeFromElapsedTime(long elapsedTime)
//package com.java2s; import java.text.SimpleDateFormat; import java.util.Date; import android.os.SystemClock; public class Main { private final static SimpleDateFormat formatter = new SimpleDateFormat( "dd/HH:mm:ss"); public static String getUTCTimeFromElapsedTime(long elapsedTime) { return formatter.format(new Date(System.currentTimeMillis() - (SystemClock.elapsedRealtime() - elapsedTime))); }/*from ww w . ja v a 2s . c o m*/ }