Java Date Now getCurrentDateWithDot()

Here you can find the source of getCurrentDateWithDot()

Description

get Current Date With Dot

License

Open Source License

Return

yyyy.MM.dd

Declaration

public static String getCurrentDateWithDot() 

Method Source Code

//package com.java2s;

public class Main {
    /**// w  ww. j  av a2  s  .  c om
     *
     * @return yyyy.MM.dd
     */
    public static String getCurrentDateWithDot() {
        java.text.SimpleDateFormat dateFormat = new java.text.SimpleDateFormat("yyyy.MM.dd",
                java.util.Locale.KOREA);
        return dateFormat.format(new java.util.Date());
    }
}

Related

  1. getCurrentDateTimeObj(String dateTime, String format)
  2. getCurrentDateTimeString()
  3. getCurrentDateTimeString(String returnFormat)
  4. getCurrentDateTimeStringValue()
  5. getCurrentDateToString(String pattern)
  6. getCurrentDay()
  7. getCurrentDay()
  8. getCurrentDay()
  9. getCurrentDay()