Java Second Get getSeconds()

Here you can find the source of getSeconds()

Description

get Seconds

License

Apache License

Declaration

public static int getSeconds() 

Method Source Code

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

public class Main {

    public static int getSeconds() {
        int seconds = (int) (System.currentTimeMillis() / 1000L);
        return seconds;
    }//  www  .  ja  v  a  2s . c om
}

Related

  1. getSecondInt(long time)
  2. getSecondMaxInArray(float[] arr)
  3. getSecondName(String names)
  4. getSecondRDNValue(String dn)
  5. getSecondRulePart()
  6. getSeconds(double coordinate)
  7. getSeconds(double seconds)
  8. getSeconds(double t)
  9. getSeconds(final double DEC_DEG)