/** Get the short date for Today. i.e 05/15/04 */ public static String getShortDate() { return getShortDate(new Date()); }
/** Get the short date for Today. i.e 05/15/04 */ public static String getShortDate() { return getShortDate(new 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());