Here you can find the source of getSysDate()
public static Timestamp getSysDate()
//package com.java2s; //License from project: Apache License import java.sql.Timestamp; public class Main { public static Timestamp getSysDate() { return new Timestamp(System.currentTimeMillis()); }//from w w w. j av a 2 s.co m }