Link to home
Start Free TrialLog in
Avatar of Mr_Shaw
Mr_Shaw

asked on

SSRS DateAdd

I am trying to use the dateadd function in SSRS. I found the syntax on
http://www.lukehayler.com/2009/07/the-dateadd-function-in-ssrs/

=DateAdd(DateInterval.Month, 1, Today())

However I get a red line saying Unrecognized Identifier under Month.

I am not sure how to fix this.
Avatar of Mr_Shaw
Mr_Shaw

ASKER

=DateAdd("D", 1, Today())  worked

=DateAdd("m", 1, Today())
ASKER CERTIFIED SOLUTION
Avatar of Howard Cantrell
Howard Cantrell
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mr_Shaw

ASKER

thanks