Here you can find the source of getNowTime()
public static java.sql.Timestamp getNowTime()
//package com.java2s; //License from project: Apache License public class Main { public static java.sql.Timestamp getNowTime() { return new java.sql.Timestamp(System.currentTimeMillis()); }/*from www . j av a2s . c o m*/ }