Java Day in Month getDayOfMonth(Object millis)

Here you can find the source of getDayOfMonth(Object millis)

Description

get Day Of Month

License

Apache License

Declaration

public static String getDayOfMonth(Object millis) 

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 getDayOfMonth(Object millis) {
        Date date = new Date(Long.parseLong(millis.toString()));
        String d = (new SimpleDateFormat("dd")).format(date);
        return d;
    }//from ww w .j  a  va  2s  .c  o m
}

Related

  1. getDayOfMonth(Date date)
  2. getDayOfMonth(Date p_date)
  3. getDayOfMonth(int dayOfYear, boolean leap)
  4. getDayOfMonth(int month, int year)
  5. getDayOfMonth(long time)
  6. GetDayOfMonth(String aDatetime)
  7. getDayOfMonth(String dateKey)
  8. getDayOfMonthSuffix(final int day)
  9. getDayOrMonth(int value)