jQuery in Action, 3rd edition
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Adding seconds to time" Watch "Adding seconds to time" New topic

Adding seconds to time

Will Paul

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
It's not a secret anymore!