Java Long Number to Time getDT(long mills)

Here you can find the source of getDT(long mills)

Description

get DT

License

Open Source License

Declaration

public static String getDT(long mills) 

Method Source Code

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

import java.text.SimpleDateFormat;

import java.util.Locale;

public class Main {
    public static String getDT(long mills) {
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss", Locale.JAPAN);
        return sdf.format(mills);
    }// www.jav a2 s.c o m
}

Related

  1. formatToUTC(long datetime)
  2. formatXSDateTime(long lastModified)
  3. getAmPm(long time)
  4. getCollectTimeInLong(Date date)
  5. getDelay(long delay, long interval)
  6. getDuration(long time)
  7. getElapsedTime(long start, long end)
  8. getElapsedTime(long startTime, long finishTime)
  9. getElapsedTimeSpecificationDescription(long sizeInBytes)