Java tutorial
//package com.java2s; public class Main { public static String getShortTimeStr(String time) { String t = time.substring(11, time.length() - 3); String date = time.substring(8, 10); String month = time.substring(5, 7); return month + "/" + date + " " + t; } }