Java Date Now getCurrentISO8601Date()

Here you can find the source of getCurrentISO8601Date()

Description

get Current ISO Date

License

Creative Commons License

Declaration

public static String getCurrentISO8601Date() 

Method Source Code


//package com.java2s;
//License from project: Creative Commons License 

import java.text.DateFormat;

import java.util.Date;

public class Main {
    private static DateFormat df;

    public static String getCurrentISO8601Date() {
        String now = df.format(new Date());
        return now;
    }/*from w  w w.  j  a  va2 s  .c om*/
}

Related

  1. getCurrentDayBegin()
  2. getCurrentDayInyyyyMMdd()
  3. getCurrentFormattedTime()
  4. getCurrentGMTTime()
  5. getCurrentHMS()
  6. getCurrentJnlpTimestamp()
  7. getCurrentLastDate()
  8. getCurrentLocaleTime()
  9. getCurrentMinutes()