I am trying to compare two dates. @If(EndDate < 01/01/2007; Leavehours = 100; Leavehours) Not working?