Java Time Now getNowTime()

Here you can find the source of getNowTime()

Description

get Now Time

License

Open Source License

Declaration

public static String getNowTime() 

Method Source Code

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

import java.text.*;

public class Main {
    public static final SimpleDateFormat SDF_FULL = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

    public static String getNowTime() {
        java.util.Date v_Date = new java.util.Date(System.currentTimeMillis());
        return SDF_FULL.format(v_Date);
    }/*from   w ww .j a va 2 s. c o m*/
}

Related

  1. getNowTime()
  2. getNowTime()
  3. getNowTime()
  4. getNowTime()
  5. getNowTime()
  6. getNowTime()
  7. getNowTime()
  8. getNowTime()
  9. getNowTime(String format)