Java Timestamp Convert To timestampToDate(Timestamp tt)

Here you can find the source of timestampToDate(Timestamp tt)

Description

timestamp To Date

License

Apache License

Declaration

public static Date timestampToDate(Timestamp tt) 

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 timestampToDate(Timestamp tt) {
        return new Date(tt.getTime());
    }//from w  ww .j a v  a2  s.c  o  m
}

Related

  1. timestampToCalendar(java.sql.Timestamp inTime)
  2. timestampToCalendar(Timestamp time)
  3. TimestampToDate(Integer time)
  4. timestampToDate(java.sql.Timestamp ts)
  5. timeStampToDate(Timestamp tim)
  6. TimestampToDateStr(Timestamp tmp)
  7. timestampToDateString(Timestamp ts)
  8. timestampToDayNumber(long timestamp)
  9. timestampToInternal(java.sql.Timestamp ts)