Java tutorial
//package com.java2s; import java.text.SimpleDateFormat; import java.util.Calendar; public class Main { public static String getDateFromTimeStamp(long timestamp) { SimpleDateFormat simpleDateFormat = new SimpleDateFormat("d MMM"); Calendar calendar = Calendar.getInstance(); calendar.setTimeInMillis(timestamp * 1000); return simpleDateFormat.format(calendar.getTime()); } }