Date expressions

1
I will calculate the number of days between two dates in order to send an email. The first date is before the second date. When I use the daysbetween expression, the email will be send two times because it will not look if the result is positive or negative!
asked
4 answers
1

Then you need to add a check wheter a result is negative of positive?

answered
1

With the expression daysbetween the result is always positive!

answered
1

Just add a check that Date2 > Date1 to your logic ??

answered
0

$Sendemail = $DaysBetween > 0

Where $Sendemail is a boolean that is true if the DaysBetween are positive.

answered