Java Timestamp Create getTimeStamp(Date date)

Here you can find the source of getTimeStamp(Date date)

Description

get Time Stamp

License

Apache License

Declaration

public static String getTimeStamp(Date date) 

Method Source Code


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

import java.text.SimpleDateFormat;
import java.util.Date;

public class Main {
    public static SimpleDateFormat TimeStampFormat = new SimpleDateFormat("MM:dd.yyyy hh:mm:ss aaa");

    public static String getTimeStamp() {
        return getTimeStamp(new Date());
    }//from   www .  j a va  2s  . c  o m

    public static String getTimeStamp(Date date) {
        TimeStampFormat.format(date);
        return null;
    }
}

Related

  1. getTimestamp()
  2. getTimestamp(Calendar time)
  3. getTimeStamp(Date date)
  4. getTimeStamp(Date date)
  5. getTimeStamp(Date date)
  6. getTimestamp(Date date)
  7. getTimestamp(Date date, String timestampPattern)
  8. getTimestamp(Date time)
  9. getTimestamp(final File file)