Java Millisecond to Day getDayFromMilliSecond(int milliSecond)

Here you can find the source of getDayFromMilliSecond(int milliSecond)

Description

get Day From Milli Second

License

Open Source License

Declaration

public static int getDayFromMilliSecond(int milliSecond) 

Method Source Code

//package com.java2s;

public class Main {
    public static int getDayFromMilliSecond(int milliSecond) {
        return (milliSecond) / (24 * 60 * 60 * 1000);
    }//from   www . java2s.  c  om
}

Related

  1. getDayDiffInMillisec(int p_daysToAdd, int p_startDay, int p_currentDay)
  2. getDaysAsMillis(int days)
  3. getDaysFromMillis(long time)
  4. getDaysZeroTimeMillis(long dateline)