Java tutorial
//package com.java2s; import java.text.SimpleDateFormat; public class Main { public static String getFullDate(long date) { SimpleDateFormat fullDateFormat = new SimpleDateFormat("dd.MM.yy HH:mm"); return fullDateFormat.format(date); } }