Java tutorial
//package com.java2s; public class Main { public static String reverseFormatDateEntry(String date) { if (date == null || date.isEmpty() || date.equals("0")) { return ""; } return date.substring(6, 8) + "/" + date.substring(4, 6) + "/" + date.substring(0, 4); } }