Java Time Now getCurrSysTime()

Here you can find the source of getCurrSysTime()

Description

get Curr Sys Time

License

Open Source License

Return

String

Declaration

public static String getCurrSysTime() 

Method Source Code

//package com.java2s;

import java.text.SimpleDateFormat;

import java.util.Date;

public class Main {
    /**/*from   w  ww .  java2 s.  com*/
     * @return String
     */
    public static String getCurrSysTime() {
        Date date = new Date();
        SimpleDateFormat sf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        return sf.format(date);
    }
}

Related

  1. getCurDateBefore(long time)
  2. getCurDateTime()
  3. getCurDateTIme()
  4. getCurentTimeDirsPath()
  5. getCurrDateTime()
  6. getCurrTime()
  7. getCurrTime()
  8. getCurTime()
  9. getCurTimeStr()