If you want to insert the current date (timestamp) e.g. as a text, then you can use the xpath function, current-date() and current-dateTime() like so:
This outputs the date (and time if selected) in this format:
(Year, month, date, hour and timezone)
current-date() + xs:dayTimeDuration('P5D')P indicates a period indicator.
5 (an integer) is the number of days to add or subtract.
D is indicates that it is a number of days.
xs:dayTimeDuration('-P5D')xs:yearMonthDuration('P1Y2M')P indicates a period.
1 (an integer) is the number of years to add/subtract.
Y indicates that the previous integer is a number of years.
2 (integer) is the number of months to add/subtract.
M indicates, that the previous integer is a number of months.
xs:date('2025-07-04') + xs:dayTimeDuration('P30D')2025-05-13T12:12:47.8408131+02:002025-03-13T06:05:33xs:dateTime('2025-03-13T06:05:33') + xs:dayTimeDuration('PT20H')2025-03-14T02:05:33If you want to change the formatting or only use a part of it, you can e.g. move the result into a variable and e.g. use a part via substring.
2025-06-24T13:10:30.63884+02:00 (current-dateTime())
13:11:06.469437+02:00 (current-time())DSPSYSVAL QUTCOFFSET