Java Millisecond Current Get getMillon(long time)

Here you can find the source of getMillon(long time)

Description

get Millon

License

Apache License

Declaration

public static String getMillon(long time) 

Method Source Code


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

import java.text.SimpleDateFormat;

public class Main {
    public static String getMillon(long time) {

        return new SimpleDateFormat("yyyy-MM-dd-HH-mm-ss").format(time);

    }/*w w  w.  j  ava2 s  . com*/
}

Related

  1. getMillisFromRFC822String(Object rfc822)
  2. getMillisFromString(String s)
  3. getMillisFromYYYYMMDD(Object yyyymmdd)
  4. getMillisId()
  5. getMillisOfTowDiffDate(String p_startDate, String p_endDate)