It's all about the answers!

Ask a question

Manipulating Date and Object


Martin Raymond (1111) | asked May 27, 8:26 p.m.

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



permanent link
Pierre Bentkowski (131517) | answered May 28, 3:17 p.m.
Hi

Chapter 10
General language facilities
Section: Dates

There is a list of function to manipulate dates.

Hope that help.

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.