question: public static String now ( ) { Calendar cal = Calendar . getInstance ( ) ; SimpleDateFormat sdf = new SimpleDateFormat ( DATE_FORMAT_NOW ) ; return sdf . format ( cal . getTime ( ) ) ; }
target:  Get the current date and time in a format so that sorting the string will sort the date.