Re: DateFormat: Format for Time > 24 Hours
Re: DateFormat: Format for Time > 24 Hours
- Subject: Re: DateFormat: Format for Time > 24 Hours
- From: Theodore Petrosky <email@hidden>
- Date: Sat, 16 Feb 2013 07:42:39 -0800 (PST)
I've never seen the zeroth hour listed as 24:00.
My opinion is that you will have to get the string, massage it and present the string not as a timestamp but as a string.
--- On Sat, 2/16/13, Thomas Grass (01SoftwareSolutions) <email@hidden> wrote:
> From: Thomas Grass (01SoftwareSolutions) <email@hidden>
> Subject: DateFormat: Format for Time > 24 Hours
> To: "WebObjects Development" <email@hidden>
> Date: Saturday, February 16, 2013, 10:26 AM
> 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
> -----Inline Attachment Follows-----
>
>
> _______________________________________________
> 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
>
_______________________________________________
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