Java tutorial
//package com.java2s; //License from project: Apache License import java.util.Calendar; public class Main { public static String dateToString(String dateString) { Calendar date = Calendar.getInstance(); date.setTimeInMillis((long) Integer.parseInt(dateString) * 1000); return date.get(Calendar.DAY_OF_MONTH) + "/" + String.format("%02d", date.get(Calendar.MONTH) + 1); } }