It's all about the answers!

Ask a question

Date format edit in RTC


Gowra chandra varma (11136) | asked Jul 19 '12, 5:01 a.m.
retagged May 25 '13, 4:38 p.m. by Scott Rich (57136)
Hi,

I am using below script to print current date. Can u pls share the script to edit the date format.

i.e. I have to print 15th as date with current month & year.

var now = new Date();
var date= dojo.date.stamp.toISOString(now, {milliseconds:true, zulu:true});

One answer



permanent link
Eric Jodet (6.3k5111120) | answered Aug 23 '12, 9:43 a.m.
JAZZ DEVELOPER
edited Aug 23 '12, 9:43 a.m.
Hello,
I think Customization of Work Items in Rational Team Concert
contains the example you're looking for.
Open the above page, search for "We use the JavaScript function shown below to subtract the current time from the creation date (in milliseconds) and return the value in human-readable form"

Thanks.
Eric.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.