Here you can find the source of getDayFromMilliSecond(int milliSecond)
public static int getDayFromMilliSecond(int milliSecond)
//package com.java2s; public class Main { public static int getDayFromMilliSecond(int milliSecond) { return (milliSecond) / (24 * 60 * 60 * 1000); }//from www . java2s. c om }