Java tutorial
//package com.java2s; import java.text.*; import java.util.*; public class Main { public static String getDate(long milliSeconds) { SimpleDateFormat formatter = new SimpleDateFormat("EEEE dd MMMM yyyy", Locale.FRANCE); Calendar calendar = Calendar.getInstance(); calendar.setTimeInMillis(milliSeconds); return formatter.format(calendar.getTime()); } }