Forum Discussion

singhswat's avatar
singhswat
Frequent Visitor
10 years ago
Solved

Date Comparison

Hi

 

This might sound silly but I'm not able to get around this problem.

 

= If (StartDate > Today()) then "Hello" Else "Bye"

 

 

Now() / Today () function just doesn't work

 

Thanks for the hepl!

  • Try with this

     

    if [Calendar] > DateTime.Date(DateTime.LocalNow()) then "Hello" else "Bye" )

7 Replies

    • singhswat's avatar
      singhswat
      Frequent Visitor

      Thanks Vvelarde I've tried this 

       

      Error: Expression error: The name 'If' wasn't recognized. Make sure it's spelled correctly.