Get today's Timestamp
import java.sql.Timestamp; import java.util.Calendar; public class Util{ public static Timestamp getToday() { return new Timestamp(Calendar.getInstance().getTime().getTime()); } }