Java tutorial
import java.text.ParseException; import java.util.Date; public class MainClass { public static void main(String[] args) throws ParseException { new java.sql.Time(new Date().getTime()); } }