Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you will find the site temporarily inaccessible. Thanks for your patience. Read more.
×Hi,
I want to now if the due date is between two other dates (startDate & endDate).
The startDate and endDate are in a variable (obtained via a web request). According to the documentation I can use isAfter to determine if the duedate is after the startDate.
{{startDate.toDate.format("yyyy-MM-dd").isAfter(issue.duedate)}}
And this to see if endDate is before the duedate
{{endDate.toDate.format("yyyy-MM-dd").isBefore(issue.duedate)}}
I also tried diff & compareTo but it does not work.
How can I accomplisch this?
Hi Rudy,
If you are trying to get the value for if/else block, then you can use Advanced comparison condition, right. I think its {{smart values}} condition in cloud.
It's a bit more complex since I have to iterate over a list in a JSON object.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.