Here you can find the source of millisecsToSecs(long millisecs)
Parameter | Description |
---|---|
millisecs | a parameter |
public static long millisecsToSecs(long millisecs)
//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; } }