Here you can find the source of getToday00Time()
public static String getToday00Time()
//package com.java2s; import java.text.SimpleDateFormat; import java.util.Date; public class Main { public static String getToday00Time() { Date curDate = new Date(System.currentTimeMillis()); SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMdd000000"); String result = sdf.format(curDate); return result; }/* w w w.j a va 2 s. co m*/ }