I need to create a condition, in Watson Conversation dialog model, like this:
if "today's date" < 04-15-2017 do something. else do something else.
I prefer not asking the user for current date and save it.
I tried many ways but they don't work, I also tried to output the date (doesn't work):
{
"context": {
"currdate": "@sys-date:today"
},
"output": {
"text": {
"values": [
"here it is $currdate"
],
"selection_policy": "sequential"
}
}
}