Here you can find the source of getTodaySqlDate()
public static java.sql.Date getTodaySqlDate()
//package com.java2s; //License from project: Apache License import java.util.Date; public class Main { public static java.sql.Date getTodaySqlDate() { return new java.sql.Date(getToday().getTime()); }//from w w w.java 2s.c om public static Date getToday() { return new Date(); } }