Java Day From getDayOfDate(Date date)

Here you can find the source of getDayOfDate(Date date)

Description

get Day Of Date

License

Open Source License

Declaration

public static int getDayOfDate(Date date) 

Method Source Code

//package com.java2s;

import java.util.*;

public class Main {

    public static int getDayOfDate(Date date) {
        Calendar c = Calendar.getInstance();
        c.setTime(date);//  w ww.j a v a  2 s  .co  m
        return c.get(Calendar.DATE);
    }
}

Related

  1. getDay(Date date)
  2. getDay(Date date)
  3. getDay(Date date, int day)
  4. getDay(String date)
  5. getDay0(Date date)
  6. getDays(Date date1, Date date2)
  7. getDays(Date sd, Date ed)
  8. getDaysBetween(int dateInt1, int dateInt2)
  9. getDaysInPastForDate(Date date)