When I use the DateAdd function in my C# code I receive the following error:

Error 1 The name 'DateAdd' does not exist in the current context

I am using the DateDiff function in the same routine and it work fine!!!

Any thoughts

Verne