Here you can find the source of getSystemCurrentTimeMillis()
public static Date getSystemCurrentTimeMillis()
//package com.java2s; //License from project: Apache License import java.sql.Timestamp; import java.util.Date; public class Main { public static Date getSystemCurrentTimeMillis() { return new Timestamp(System.currentTimeMillis()); }/*from w w w .ja v a 2s. c o m*/ }