Manipulating Date and Object
Hi,
(DXL in DOORS 9.6)
I am trying to parse each object chec if an attribute has a date and then if so, make a manipulation and write the result in two different attributes of the same object row.
So if attribute "CAAWARD" has a date (i.e: 26 Sep 2024), then if it exists use another attribute called "MACA" that contains an integer for a month quantity.(i.e: 3).
Then take the date (CAWARD) and add 3 months (MACA) to it and write it in a "DUEDATE" attribute.
Once done, count the number of days remaining between those two dates and write the amount of days left into an attribute called "DAYSLEFT" .
So far I can parse the rows and write to attributes, but getting the dates to work and the days is not going well. Any help would be greatly appreciated.
Regards,
|
One answer
Hi
Have you review in https://www.ibm.com/docs/en/SSYQBZ_9.6.0/com.ibm.doors.requirements.doc/topics/dxl_reference_manual.pdf
Chapter 10
General language facilities Section: Dates
There is a list of function to manipulate dates.
Hope that help.
|
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.