Java tutorial
//package com.java2s; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; public class Main { public static String getStringDate(long l) { Date date = new Date(Long.parseLong((new StringBuilder()).append(l).append("000").toString())); return (new SimpleDateFormat("dd MMM yyyy", Locale.ENGLISH)).format(date); } }