src/main/java/suwu/daopuerp/util/FormatDateTime.java
/**
     * Get date string used in bill (yyyyMMdd).
     *
     * @return date string in yyyyMMdd
     */
Get date string used in bill (yyyyMMdd).
@return date string in yyyyMMdd
Get date string used in bill ( yyyyMMdd ) . @return date string in yyyyMMdd
public static String currentDateStringForBill() {
        Date dt = new Date();
        SimpleDateFormat myFmt = new SimpleDateFormat("yyyyMMdd");
        return myFmt.format(dt);
    }
public static String currentDateStringForBill ( ) { Date dt = new Date ( ) ; SimpleDateFormat myFmt = new SimpleDateFormat ( "yyyyMMdd" ) ; return myFmt . format ( dt ) ; }
Get date string used in bill (yyyyMMdd).
Get date string used in bill ( yyyyMMdd ) .