Here you can find the source of ToSting(Long milliSecond)
public static String ToSting(Long milliSecond)
//package com.java2s; import java.text.SimpleDateFormat; public class Main { public static String ToSting(Long milliSecond) { SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); return sdf.format(milliSecond); }/*from w w w. ja v a 2 s. c om*/ }