Date variable - add a year. Can someone help ?
SummaryOracle Integration Cloud - How do I create a date var and add a year?
Hoping someone can show me how to do this as I'm losing my marbles trying thing after thing and getting errors every time.
If I output string(fn:current-date()) I get 2021-08-17T15:23:52.198Z
So, I thought to create a date I would be able to define a variable in the same format as that, and then use +xsd:dayTimeDuration("P1Y") to add a year to it, but no, that will not work.
In the variable creation window :
I've tried xsd:dateTime('2021-08-17T15:23:52.198Z')+xsd:dayTimeDuration("P1Y") and this errors.