Java Millisecond Current Get getCurrentMillisecondString()

Here you can find the source of getCurrentMillisecondString()

Description

Returns a string of current timestamp with millisecond precision.

License

Apache License

Return

A string containing the current timestamp.

Declaration

public static String getCurrentMillisecondString() 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    /**/*  w w w  .j a v  a2 s. c  o  m*/
     * Returns a string of current timestamp with millisecond precision.
     * 
     * @return A string containing the current timestamp.
     */
    public static String getCurrentMillisecondString() {
        return String.valueOf(System.currentTimeMillis());
    }
}

Related

  1. currentTimeMillis()
  2. currentTimeMillis()
  3. currentTimeMillisUTC()
  4. getCurrentMillis()
  5. getCurrentMillisecond()
  6. getCurrentMillisecondZeroFillString()
  7. getCurrentTimeMillisStr()
  8. getMillins(String yyyyMMddHHmmss)
  9. getMillisDurationString(long millis)