Java Millisecond Convert millisecsToSecs(long millisecs)

Here you can find the source of millisecsToSecs(long millisecs)

Description

Converts millisecs to secs (Round down).

License

Open Source License

Parameter

Parameter Description
millisecs a parameter

Declaration

public static long millisecsToSecs(long millisecs) 

Method Source Code

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

public class Main {
    /**//  w w  w  .j av a 2s  .  c o  m
     * Converts millisecs to secs (Round down).
     * @param millisecs
     * @return
     */
    public static long millisecsToSecs(long millisecs) {
        return millisecs / 1000;
    }
}

Related

  1. millisecondsToTimestamp(final long milliseconds)
  2. millisecondsToTimeString(int milliseconds)
  3. millisecondToDate(long timeMillis)
  4. millisecondToDate(String str)
  5. millisecondToDHMS(long duration)
  6. milliSecsToTime(double current, double max, double buffer)
  7. milliSecToString(final long mS)
  8. milliSecToTime(double millis)
  9. millisToCycles(double millis, double hz)