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:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Java in General
about dates
volsteni raj
Greenhorn
Posts: 3
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
how can i find difference between two dates?
how can i store date object in oracle database
Carol Enderlin
drifter
Posts: 1364
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
For the first question, check
this thread
that just discussed dates.
Second question:
jdbc
[ January 27, 2005: Message edited by: Carol Enderlin ]
vinod kumar
Greenhorn
Posts: 15
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
The defference between two dates(two Date objects) u can findout by first getting the defference of milliseconds between the dates
long defferenceInMilliSeconds=Date1.getTime()-Date2.getTime();
you can convert this defference to hours or days as u want
for the second qst u can use JDBC
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
difference between two dates
How to get the difference between 2 dates ?
between date???
Weeks comparison
Comapring dates in hibernate
More...