Date format edit in RTC
![]()
Gowra chandra varma (11●1●3●6)
| asked Jul 19 '12, 5:01 a.m.
retagged May 25 '13, 4:38 p.m. by Scott Rich (571●3●6)
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
![]()
Eric Jodet (6.3k●5●111●120)
| 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. |