/** Return the 2 digit month of todays date */ public static String getMonth() { return getMonth(new Date()); }
/** Return the 2 digit month of todays date */ public static String getMonth() { return getMonth(new Date()); }
System.out.println("month="+getMonth(date)); System.out.println("dayofweek="+getDayOfWeek(date)); System.out.println("shortdate="+getShortDate(date)); System.out.println("formatteddate="+getFormattedDate("dd-MMM-yy",date)); System.out.println("month="+getMonth()); System.out.println("dayofweek="+getDayOfWeek()); System.out.println("shortdate="+getShortDate());