aspose file tools
The moose likes Java in General and the fly likes Finding the Date & Time from Java.util.Calendar object Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Finding the Date & Time from Java.util.Calendar object" Watch "Finding the Date & Time from Java.util.Calendar object" New topic
Author

Finding the Date & Time from Java.util.Calendar object

shankar alagiri
Greenhorn

Joined: Dec 01, 2006
Posts: 4
Hi,

My question is how to find the exact Date & Time using java.util.Calendar object from elapsed time in seconds?


Thanks,
Shankar.A
jeroen dijkmeijer
Ranch Hand

Joined: Sep 26, 2003
Posts: 131
Not sure what you mean, but maybe code below is helpful? The date/Calendar api is not very clean.

[ December 01, 2006: Message edited by: jeroen dijkmeijer ]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Finding the Date & Time from Java.util.Calendar object
 
Similar Threads
converting epoch time to human readable format using JSF
java.util.Date getYear() method is deprecated
get the date of next Monday
problem with millisecond date calculation
Set a default value for spinner