Here you can find the source of timeStamp2Date(String timestampString)
public static String timeStamp2Date(String timestampString)
//package com.java2s; //License from project: Apache License public class Main { public static String timeStamp2Date(String timestampString) { Long timestamp = Long.parseLong(timestampString) * 1000; String date = new java.text.SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(new java.util.Date(timestamp)); return date; }//from w w w .j a v a2s .c om }