Here you can find the source of getCurrentDBDate()
public static java.sql.Date getCurrentDBDate()
//package com.java2s; public class Main { public static java.sql.Date getCurrentDBDate() { java.sql.Date current = new java.sql.Date(System.currentTimeMillis()); return current; }/*ww w . j a v a2s .c om*/ }