Java Date Now getCurrentDataTimePrettyFilesystem()

Here you can find the source of getCurrentDataTimePrettyFilesystem()

Description

get Current Data Time Pretty Filesystem

License

Apache License

Declaration

public static String getCurrentDataTimePrettyFilesystem() 

Method Source Code


//package com.java2s;
//License from project: Apache License 

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

public class Main {
    public static String getCurrentDataTimePrettyFilesystem() {
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd-HH.mm.ss");
        Calendar calendar = new GregorianCalendar();
        return simpleDateFormat.format(calendar.getTime());
    }/*from w  ww  . j  a va  2  s .  c om*/
}

Related

  1. getCurrentAgeByBirthdate(String brithday)
  2. getCurrentCacheTime()
  3. getCurrentCalendar()
  4. getCurrentCompactTime()
  5. getCurrentDataInFormat(String pattern)
  6. getCurrentDate()
  7. getCurrentDate()
  8. getCurrentDate()
  9. getCurrentDate()