Here you can find the source of getCurSQLDate()
public static java.sql.Date getCurSQLDate()
//package com.java2s; //License from project: Apache License import java.util.Date; public class Main { /**// w ww. j a v a 2s . c o m * Get current date in form of java.sql.Date. * * @return java.sql.Date object of current date. */ public static java.sql.Date getCurSQLDate() { return new java.sql.Date(new Date().getTime()); } }