Java Second Get getSecondTime()

Here you can find the source of getSecondTime()

Description

get Second Time

License

Open Source License

Declaration

public static String getSecondTime() 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static String getSecondTime() {
        return String.valueOf(System.currentTimeMillis()).substring(0, 10);
    }/*w  w  w  .jav a 2  s  .  co m*/
}

Related

  1. getSecondSimpleType(String completeType)
  2. getSecondsInDDHHMMSS(int s)
  3. getSecondsText(long seconds)
  4. getSecondsToHHMMSS(double seconds)
  5. getSecondsToMMSS(double seconds)
  6. getSecondTime(String time)
  7. getSecondToLastIndexOf(String string, char character)
  8. getSecondVersion(String buildId)
  9. getSYNTimeSeconds()