DateFormat: Format for Time > 24 Hours
DateFormat: Format for Time > 24 Hours
- Subject: DateFormat: Format for Time > 24 Hours
- From: "Thomas Grass (01SoftwareSolutions)" <email@hidden>
- Date: Sat, 16 Feb 2013 16:26:49 +0100
Hello Community,
i've a question concerning the right way to format time. I have a Time like 32:18:12 (32 Hours, 18 Minutes, 12 Seconds). This time is stored within an NSTimestamp (after calculating something):
NSTimestamp timeToDisplay = new NSTimestamp(timeAfterCalculation()); //e.g: timeAfterCalculation is in milliseconds 116292000
I want it to display in my component:
TimeToDisplayString : WOString { value = timeToDisplay; dateformat = "%H:%M:%S"; }
This is the way i usually do. But i can't display times > 24 hours (it starts with 00:00:00 again).
What is the right way to display it? Is there a special date format for this issue?
Thank you very much, Thomas |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden