Here you can find the source of getCurrentTimeNumber()
public static String getCurrentTimeNumber()
//package com.java2s; import java.text.SimpleDateFormat; public class Main { public static String getCurrentTimeNumber() { return new SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date()); }// w ww . j a v a 2 s .c om }