formatting current date in specific date format
Summary:
I'm using a REST connector to call a REST API from OPA. As part of that I need to send current date in YYYY-MM-DD format in the data association.
I know I can use 'now' to get the current date time but do not know how to format it.
Appreciate your help.
Content (please ensure you mask any confidential information):
Version (include the version you are using, if applicable):
OPA 23.10
Code Snippet (add any code snippets that support your topic, if applicable):
Tagged:
0