Java tutorial
//package com.java2s; import java.text.SimpleDateFormat; public class Main { public static String getDateFromMillis(long time) { String curStringDate = new SimpleDateFormat("dd MM yyyy").format(time); return curStringDate; } }