Java Year Format getDDMMYYY_HHMM()

Here you can find the source of getDDMMYYY_HHMM()

Description

get DDMMYYHHMM

License

Open Source License

Declaration

public static String getDDMMYYY_HHMM() 

Method Source Code


//package com.java2s;

import java.text.SimpleDateFormat;
import java.util.Calendar;

public class Main {
    public static String getDDMMYYY_HHMM() {
        SimpleDateFormat DDMMYYYY_HHMM = new SimpleDateFormat("ddMMyyyy-HHmm");
        return DDMMYYYY_HHMM.format(Calendar.getInstance().getTime());
    }//ww  w  .  java  2  s.  c o m
}

Related

  1. formatYear(Date date)
  2. formatYearMonth(Date date)
  3. formatYyyyMm(Date date)
  4. formatyyyyMMddHHmmss(long time)
  5. get_Oracle_DateString_YYYYMMdd_HHmmss(java.util.Date date)
  6. getDDMMYYYYDate(Date date)
  7. getFirstDate(String yearMonthStr, String yearMonthFormat, String dateFormat)
  8. getFormatToDateSimple(String yyyyMMdd)
  9. getStartAndEndWeekOfMonth(int year, int month, int week, String format)