Java tutorial
//package com.java2s; public class Main { public static String getTime1() { java.util.Date date1 = new java.util.Date(); return date1.toString(); } }