hi there,
I have a function that is suposed to let me know when the date is 180 dyas older than todays date for instance if the date is September --, 2006 and i run my fucntion today i will let me know if this is true.
I know it has to do with the DateTime function and the add days but i dont remenber how to do it can you guys help me?
Thanks
just use negative...
DateTime.Today.AddDays(-18
to get 180 days 'ago'...