Java tutorial
//package com.java2s; import java.text.SimpleDateFormat; import java.util.Date; public class Main { public static String convertUnixTime(int time) { if (time == 0) { return ""; } Date date = new Date(time * 1000); SimpleDateFormat format = new SimpleDateFormat("dd/MM/yyyy HH:mm"); return format.format(date); } }