Java Date Now getCurrentAccurateDateTimeStringForPrint()

Here you can find the source of getCurrentAccurateDateTimeStringForPrint()

Description

get Current Accurate Date Time String For Print

License

Open Source License

Declaration

public static String getCurrentAccurateDateTimeStringForPrint() 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.text.SimpleDateFormat;
import java.util.Date;

public class Main {
    public static String getCurrentAccurateDateTimeStringForPrint() {
        SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS");
        return df.format(new Date());
    }//from  w ww  . j av  a  2s .co  m
}

Related

  1. currentGMTDateTime()
  2. currentSystemDate()
  3. currentXdsDate(int format)
  4. getCurrent()
  5. getCurrent()
  6. getCurrentAgeByBirthdate(String brithday)
  7. getCurrentCacheTime()
  8. getCurrentCalendar()
  9. getCurrentCompactTime()