Date manipulation
I have been trying to find a way to manipulate dates. I am aware of the DateDiff and the DateAdd functions, but what I need to do is subtract X amount of days from a date to give me another date. For example a report I am creating is going to show the past 15 days of progress. I know what the current day is of course with the simple Date.Today, but I have no idea what the date was 15 days earlier. Is there some function that I have been unable to find that will allow me to do a DateSubtract and let me find the date X amount of days prior?
I am using Visual Studio 2005 Pro and am coding in Visual Basic.
[611 byte] By [
N_John] at [2007-12-24]
*bangs head into wall while repeating "When you add a negative it subtracts...when you add a negative it subtracts...When you add.."*
Thank you. I dont know what happened there. Please excuse my moment of utter stupidity.