Java Time Now getLogCurrentTime()

Here you can find the source of getLogCurrentTime()

Description

get Log Current Time

License

Open Source License

Declaration

public static String getLogCurrentTime() 

Method Source Code


//package com.java2s;

import java.util.*;
import java.text.*;

public class Main {
    public static SimpleDateFormat logFormat = new SimpleDateFormat("MMddHHmm");

    public static String getLogCurrentTime() {
        Date current = new Date(System.currentTimeMillis());
        return logFormat.format(current);
    }/*from  www .j a  v a  2 s .c o  m*/
}

Related

  1. getCurrTime()
  2. getCurrTime()
  3. getCurTime()
  4. getCurTimeStr()
  5. getDBCurrentTime()
  6. getNow()
  7. getNow()
  8. getNow()
  9. getNow()