Using date macros
Date macros are used in search queries to provide dynamic dates as part of the search. They are also used as input in a data service that uses a non-search API transaction, in links, in dialogs, and as initial values in custom input fields. This provides dynamic dates, even when a search transaction is not used.
The date macros that are used are DATE(x) and DAY(y). You must wrap these date macros inside an { } to work in an application: {DATE(x)}, {DAY(y)}.
This table shows the different uses of date macros on various input fields:
| Component | Input field |
|---|---|
| data service | Value column |
| links | link syntax |
| dialogs | Initial Value field |
| initial values in custom input fields | Intial date value field |