Java tutorial
//package com.java2s; import java.text.SimpleDateFormat; public class Main { public static String getSimpleDateFormat9(long time) { return new SimpleDateFormat("yyyyMMddHHmmssSSS").format(time); } }