Java tutorial
//package com.java2s; import java.text.SimpleDateFormat; import java.util.Date; public class Main { public static String timeStampToTimeString(String timeStamp, SimpleDateFormat format) { Date date = new Date(Long.parseLong(timeStamp)); return format.format(date); } }