time From Local Millis
import android.content.Context; import android.text.format.DateUtils; class Main { public static String timeFromLocalMillis(Context ctx, long millis) { return DateUtils.formatDateTime(ctx, millis, DateUtils.FORMAT_SHOW_TIME | DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_NUMERIC_DATE); } }