Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

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

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

public class Main {
    public static String convertMillis(long millis) {
        return new SimpleDateFormat("\n[MM/dd/yyyy hh:mm:ss aaa] ", Locale.getDefault()).format(millis);

    }
}