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