List of utility methods to do Time Now
String | currentTime() gets current time's string format like "HH:mm:ss" return getTimeFormat(now());
|
String | currentTime() current Time SimpleDateFormat df = new SimpleDateFormat("EEE MMM dd HH:mm:ss Z yyyy", Locale.ENGLISH); String sendtime = df.format(new Date()); return sendtime; |
String | currentTime() current Time return formatTime(Calendar.getInstance());
|
String | currentTime() current Time return timeFormat.format(now());
|
String | currentTime() current Time Date date = new Date(); return seconParse.format(date); |
String | currentTime() current Time return formatDate(new Date(), "yyyyMMddhhmmssSSS"); |
String | currentTime() current Time return reformattedTime(System.currentTimeMillis());
|
String | currentTimedDate() Get the current date and time in sting form Calendar cal = Calendar.getInstance(); SimpleDateFormat sdf = new SimpleDateFormat(DATE_FORMAT_NOW); return sdf.format(cal.getTime()); |
long | currentTimeMillis() current Time Millis return getToday().getTime();
|
String | currentTimePath(String basePath) current Time Path String backupTime = basePath + "/" + COMPACT_DATE_TIME_ID.format(new Date()); return backupTime; |