Results 1 to 10 of 10
Thread: Appending Seconds to Time
- 10-14-2010, 04:45 PM #1
Member
- Join Date
- Sep 2010
- Posts
- 22
- Rep Power
- 0
Appending Seconds to Time
Hi,
Can you please help me in appending the seconds to a time value.
Like i am receving the time as HH:MM and I need to append the SS to it.
like 18:35 to 18:35:00
07:35 to 07:35:00
Please advice this funstionality.
both the data types are of type IsoTime type ( XML).
Thanks.
- 10-14-2010, 04:58 PM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,460
- Rep Power
- 16
Is this a String or some other class we're talking about here?
Presumably in Java (this being a Java forum and all)?
-
IsoTime is not a standard Java class which will greatly limit the help you'll be able to get here. I suggest either reviewing the class's documentation or ask in a forum dedicated to the product.
Luck
- 10-14-2010, 06:04 PM #4
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,399
- Blog Entries
- 7
- Rep Power
- 17
- 10-14-2010, 07:49 PM #5
- 10-14-2010, 08:32 PM #6
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,399
- Blog Entries
- 7
- Rep Power
- 17
- 10-15-2010, 08:00 AM #7
Member
- Join Date
- Sep 2010
- Posts
- 22
- Rep Power
- 0
Hi,
what I didn't understand what all you are talking about. If some one know the way of doing the problem suggest/help/advice. Don't say all that un necessary things. I just asked how can we add seconds to a time, which I am getting as HH:MM to be (HH:MM:SS).
Please dont use this great forum for laughing purpose...
Here I am getting time format as time datatype.
Thanks,
Sudhakar.M
- 10-15-2010, 08:39 AM #8
Moderator
- Join Date
- Apr 2009
- Posts
- 10,460
- Rep Power
- 16
I did ask you what class we were talking about.
You still haven't really clarified that.
Is this a Date object or what?
What class are we referring to?
- 10-15-2010, 08:50 AM #9
Member
- Join Date
- Sep 2010
- Posts
- 22
- Rep Power
- 0
Thanks for reply... yes date object..
- 10-15-2010, 09:00 AM #10
Moderator
- Join Date
- Apr 2009
- Posts
- 10,460
- Rep Power
- 16
Similar Threads
-
Finding epoch seconds and separate yera,month,day,hr,min and seconds
By sathish kumar in forum New To JavaReplies: 4Last Post: 09-09-2010, 11:15 AM -
a constructor to convert seconds to hours, min & seconds
By senca in forum New To JavaReplies: 3Last Post: 04-05-2010, 01:08 PM -
Appending
By selva.bics in forum Enterprise JavaBeans (EJB)Replies: 1Last Post: 11-10-2009, 10:49 AM -
getting time elapsed in seconds
By ali_sakar in forum New To JavaReplies: 3Last Post: 03-06-2009, 08:37 AM -
measuring time in nano seconds
By Java Tip in forum Java TipReplies: 0Last Post: 11-06-2007, 12:11 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks