Java Day From day(Integer time)

Here you can find the source of day(Integer time)

Description

day

License

Apache License

Declaration

public static Integer day(Integer time) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {

    public static Integer day(Integer time) {
        int day = (int) Math.floor(time / 86400);
        return day;
    }/*from   w  w  w  . jav  a 2s  . c  om*/
}

Related

  1. calculatorStartTimeOnDay(Date date)
  2. clearDay(long timeInMillis)
  3. CompareDay(Date orgin, Date target)
  4. convertYYMMDDToDate(int y, int m, int d, boolean beginning_of_day)
  5. createInDays(final Date from, final int amount)
  6. dayFromDateValue(long x)
  7. dayNumberToTimestamp(short dateNumber)
  8. days(int d)
  9. days(int month, int year)