public static long getCollectTimeInLong(Date date) {
		SimpleDateFormat collectTimeFormat = new SimpleDateFormat("yyyyMMddHHmmss");
		return Long.parseLong(collectTimeFormat.format(date));
	}
Get the time in long format : "yyyyMMddHHmmss".

@param date	date to be formatted
@return time in format of long type
ngrinder-core/src/main/java/org/ngrinder/common/util/DateUtils.java