The code below gives me the current time. But it does not tell anything about milliseconds.
public static String getCurrentTimeStamp() { SimpleDateForm
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS");