Java tutorial
import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; public class Main { public static void main(String[] args) throws Exception { DateFormat df = new SimpleDateFormat("dd/MM/yyyy"); Date today = df.parse("20/12/2005"); System.out.println("Today = " + df.format(today)); } }