permaculture playing cards*
The moose likes Java in General and the fly likes How to convert timeStamp into corresponding date. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to convert timeStamp into corresponding date." Watch "How to convert timeStamp into corresponding date." New topic
Author

How to convert timeStamp into corresponding date.

Pramod P Deore
Ranch Hand

Joined: Jul 15, 2008
Posts: 629

hi,
How to convert timeStamp into corresponding date.
i.e.

I have timeStamp = 1262346151000 and need to convert it into date

Thanks in advance

Life is easy because we write the source code.....
Marco Ehrentreich
best scout
Bartender

Joined: Mar 07, 2007
Posts: 1280

Hi Pramod,

if your timestamp is in the well-known format, i.e. milliseconds since the epoch, it should be enough to make a


Marco
Pramod P Deore
Ranch Hand

Joined: Jul 15, 2008
Posts: 629

Thank you
 
 
subject: How to convert timeStamp into corresponding date.
 
Similar Threads
Convert a Timestamp to Calander Object
How do i convert a Date object into a TimeStamp object
add 10 days to currentDate in java.util.Date or cast to Calendar?
How do i convert a Date object into a Timestamp object ?
How to convert now date to Timestamp ??