Java Date Format formatDate(Date aDate)

Here you can find the source of formatDate(Date aDate)

Description

format Date

License

Open Source License

Declaration

public static String formatDate(Date aDate) 

Method Source Code

//package com.java2s;
// are made available under the terms of the Eclipse Public License v1.0

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

public class Main {
    private static SimpleDateFormat dfA = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss z", Locale.ENGLISH);

    public static String formatDate(Date aDate) {
        return dfA.format(aDate);
    }/*  ww  w .  j a  va  2 s  . c  o  m*/
}

Related

  1. dateTimeToZuluFormat(DateTime dateTime)
  2. formatD(Date date)
  3. formatDashedDateDDMMYYYY(Date date)
  4. formatDate(ArrayList list)
  5. formatDate(Date _date)
  6. formatDate(Date d)
  7. formatDate(Date d)
  8. formatDate(Date d)
  9. formatDate(Date d)