Consider:
Code: Select all
GetDate>today
DateAdd>today,d,2,nextdate
DateDiff>today,nextdate,d,res1
DateDiff>nextdate,today,d,res2
While you would think you could use:
if>today>nextdate
for example, this doesn't work if nextdate equaled something like 11/2/1999 since that would be larger on the compare than 10/5/2013.
Dan
[/code]