Replies: 1 comment
-
you can do To make it cleaner , you can use scopedparams to make it look cleaner {
"RuleName": "compare dates",
"LocalParams":[
{
"Name":"date1",
"Expression":"DateTime.Parse(input1)"
},{
"Name":"date2",
"Expression":"DateTime.Parse(input2)"
}
],
"Expression":"date1.AddDays(x) > date2"
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Does the expression allow including date values and does it evaluate if one date greater than the other?
If i were to check if one date is greater than the other by x number of days, does expression allow to type cast string to date?
Beta Was this translation helpful? Give feedback.
All reactions