Java Second Convert toSeconds(long date)

Here you can find the source of toSeconds(long date)

Description

to Seconds

License

Open Source License

Declaration

private static long toSeconds(long date) 

Method Source Code

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

public class Main {
    private static long toSeconds(long date) {
        return date / 1000L;
    }//from w w  w  .j av  a2  s  . c o  m
}

Related

  1. toCentiSeconds(float t)
  2. toDaySecondDifference(long difference)
  3. toHhMmSs(long seconds)
  4. toNanoseconds(long sec, long nanos)
  5. toSeconds(double value)
  6. toSeconds(long millis)
  7. toSeconds(long milliseconds)
  8. toSeconds(long nanoseconds)
  9. toSeconds(long nanoSeconds)