Here you can find the source of getToday()
public static Date getToday()
//package com.java2s; import java.util.*; public class Main { public static Date getToday() { return new Date(); }//from ww w . ja v a2s.c o m }