Java Timestamp Convert To convertTimestampToDate(Timestamp timestamp)

Here you can find the source of convertTimestampToDate(Timestamp timestamp)

Description

convert Timestamp To Date

License

Apache License

Declaration

public static Date convertTimestampToDate(Timestamp timestamp) 

Method Source Code

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

import java.sql.Timestamp;

import java.util.Date;

public class Main {
    public static Date convertTimestampToDate(Timestamp timestamp) {
        Date date = timestamp;/*from  w w w.j  a v a 2 s  . co m*/
        return date;
    }
}

Related

  1. convertDate(Timestamp time)
  2. ConvertTimestamp(long sec)
  3. convertTimestamp(Timestamp timestamp)
  4. convertTimestampToDDMMMMYYYY(Timestamp dateTime)
  5. convertTimestampToString(Timestamp dateTime, String dateFormat)
  6. convertTimestampToString(Timestamp str)
  7. convertTimestampToStringWithoutTime(final Timestamp ts)