Java Date Format As formatDateYyyymmddhhmmss(Date date)

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

Description

format Date Yyyymmddhhmmss

License

Apache License

Declaration

public static String formatDateYyyymmddhhmmss(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 String formatDateYyyymmddhhmmss(Date date) {
        return new SimpleDateFormat("yyyyMMddHHmmss").format(date);
    }//from  w w  w.  j  a v  a  2s . c  om
}

Related

  1. formatDateUTC(Date d)
  2. formatDateUTC(Date date)
  3. formatDateW3C(Date date)
  4. formatDateWithMilliseconds(DateFormat aFormat, Date aDate)
  5. formatDateYMD(Object date)
  6. formatDatum(Date date, Locale locale)
  7. formatDay(Date date)
  8. formatDay(java.util.Date d)
  9. formatDDMMYYYY(Date date)