Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Date format edit in RTC

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});

0 votes



One answer

Permanent link
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.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,503
× 6,130

Question asked: Jul 19 '12, 5:01 a.m.

Question was seen: 6,747 times

Last updated: May 25 '13, 4:38 p.m.

Confirmation Cancel Confirm