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
Marco Keijsers
4 answers
1
Then you need to add a check wheter a result is negative of positive?
answered
Samet Kaya
1
With the expression daysbetween the result is always positive!
answered
Marco Keijsers
1
Just add a check that Date2 > Date1 to your logic ??
answered
David Sanders
0
$Sendemail = $DaysBetween > 0
Where $Sendemail is a boolean that is true if the DaysBetween are positive.