/** * Date Util might be useful in your daily activities. */ package com.sbs.dateutil; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; /** * @author bhargav * */ public class DateUtil { /** * */ private DateUtil() { } /** * @param args */ public static void main(String[] args) { //Date date = new Date(); //Another way to get the current date from Calender object is Date utilDate = Calendar.getInstance().getTime(); System.out.println("Default Util Curent Date and time :" + utilDate); ...