aspose file tools*
The moose likes Beginning Java and the fly likes Adding seconds to time Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Adding seconds to time" Watch "Adding seconds to time" New topic
Author

Adding seconds to time

Will Paul
Greenhorn

Joined: May 27, 2005
Posts: 8
Not sure if this is beginner or intermediate. How can I add seconds to a time value as in hh:mm:ss? For example, 30 (seconds) + 10:30:05
[ November 22, 2005: Message edited by: Will Paul ]
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
one of the ways
Jeff Albertson
Ranch Hand

Joined: Sep 16, 2005
Posts: 1780
Here's another way, if you are using calendar:


There is no emoticon for what I am feeling!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Adding seconds to time