Java Day getDay(Date date)

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

Description

get Day

License

Apache License

Declaration

public static String getDay(Date date) 

Method Source Code

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

import java.text.SimpleDateFormat;

import java.util.Date;

public class Main {
    public static String getDay(Date date) {
        return new SimpleDateFormat("dd").format(date);
    }//from w w  w .ja va 2s . c om
}

Related

  1. daysWeekName(boolean shortName, Locale locale)
  2. dayToMilliSeconds(String day, String timeZone)
  3. dayToUTCSeconds(String day)
  4. getDateYYMMDD()
  5. getDateYYMMDD(java.util.Date date)
  6. getDay(Date date)
  7. getDay(Date date)
  8. getDay(Date date)
  9. getDay(Date date, HashMap date2day)