Java tutorial
//package com.java2s; //License from project: Apache License import java.text.SimpleDateFormat; public class Main { public static String transferTime(String timestamp) { String newValue = ""; long ts = Long.valueOf(timestamp); SimpleDateFormat df = new SimpleDateFormat("MMM d\nHH:mm"); newValue = df.format(ts); return newValue; } }