Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Tim Cooke
Campbell Ritchie
paul wheaton
Ron McLeod
Devaka Cooray
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Paul Clapham
Saloon Keepers:
Tim Holloway
Carey Brown
Piet Souris
Bartenders:
Forum:
Java in General
How to convert Long Time to Time/Date
moola reddy
Greenhorn
Posts: 8
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
How to convert Long Time to Time/Date?.
Ex:
Date dt = new Date();
long lTime = dt.getTime();
System.out.println("Long Time "+lTime);
How to convert this lTime to Time/Date?.
Thank you
Campbell Ritchie
Marshal
Posts: 80634
471
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Please change your name to include a last name.
Please look at the set methods in the java.util.Calendar class.
Jeff Albertson
Ranch Hand
Posts: 1780
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Have you seen this page:
http://java.sun.com/j2se/1.5.0/docs/api/java/util/Date.html
Does anything on that page look promising?
moola reddy
Greenhorn
Posts: 8
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Ye, Ye,
I haven't observed that method.
Thank you
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
long to Integer conversion
Epoch to groovy date
how to convert String into Date format
how to synchronized simpledateformat
util.Date to sql.Date
More...