1) I made another variable to test:
test=FormatDate(RelativeDate(CurrentDate();-1);"MM/dd/yyyy 12:00:00 a")
This gives me 01/17/2016 12:00:00 PM {correct}
2) Then:
new=If([Bill Date] > [test]) then "NEW" else "Old"
this gives data invalid for [test]
3)Finally
date=ToDate([test];"")
results in 1/17/16
Why does the toDate not format properly?
Any help is much appreciated
Thanks