initializa a new current date code example
Example: java how to get current time
import java.util.Calendar;
Date currentTime = Calendar.getInstance().getTime();
import java.util.Calendar;
Date currentTime = Calendar.getInstance().getTime();