Here you can find the source of getDT(long mills)
public static String getDT(long mills)
//package com.java2s; //License from project: Open Source License import java.text.SimpleDateFormat; import java.util.Locale; public class Main { public static String getDT(long mills) { SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss", Locale.JAPAN); return sdf.format(mills); }// www.jav a2 s.c o m }