Java Date Format As formatddMMyyyy(Date date)

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

Description

formatdd M Myyyy

License

Apache License

Declaration

public static String formatddMMyyyy(Date date) 

Method Source Code

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

import java.text.SimpleDateFormat;
import java.util.*;

public class Main {
    public static SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy");

    public static String formatddMMyyyy(Date date) {
        SimpleDateFormat format = new SimpleDateFormat("dd/MM/yyyy");
        return format.format(date);
    }/*from  ww  w  .  ja va2 s .  c o  m*/

    public static String format(Date data) {
        return sdf.format(data);
    }
}

Related

  1. formatDateYyyymmddhhmmss(Date date)
  2. formatDatum(Date date, Locale locale)
  3. formatDay(Date date)
  4. formatDay(java.util.Date d)
  5. formatDDMMYYYY(Date date)
  6. getDateAsISO8601String(Date date)
  7. getDateAsISO8601String(Date date)
  8. getDateAsISOTimestampString(Date timestamp)
  9. getDateAsRFC822String(Date date)