Java Second Get getCurrentTimeSeconds()

Here you can find the source of getCurrentTimeSeconds()

Description

Get CurrentTime in Seconds

License

Apache License

Return

CurrentTime in Seconds

Declaration

public static long getCurrentTimeSeconds() 

Method Source Code

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

public class Main {
    /**/*from   ww  w.j ava  2s  .c om*/
     * Get CurrentTime in Seconds
     *
     * @return CurrentTime in Seconds
     */
    public static long getCurrentTimeSeconds() {
        return System.currentTimeMillis() / 1000;
    }
}

Related

  1. getCronBySecondScheduler(int second)
  2. getCurrentMiliseconds()
  3. getCurrentSecondString()
  4. getCurrentSecondZeroFillString()
  5. getCurrentTimeInSeconds()
  6. getDayFromSeconds(long seconds)
  7. getFramesFromSeconds(Double seconds)
  8. getMSTimeInSeconds(final String timeStr)
  9. getMultiplierForCmPerSecondsFromSpeedUnits(String speedUnits)