Java tutorial
//package com.java2s; //License from project: Open Source License import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; public class Main { public static String getFormattedDate(long milliseconds) { return new SimpleDateFormat("EEEE MMMM d, yyyy", Locale.getDefault()).format(new Date(milliseconds)); } }