J John Cosmas Jun 15, 2005 #1 I need a function that will take today's date and add X days to it. It should return the new date after the add.
I need a function that will take today's date and add X days to it. It should return the new date after the add.
J jabailo Jun 15, 2005 #2 John said: I need a function that will take today's date and add X days to it. It should return the new date after the add. Click to expand... DateTime.Now.AddDays(); ( Doesn't .Net rock ? )
John said: I need a function that will take today's date and add X days to it. It should return the new date after the add. Click to expand... DateTime.Now.AddDays(); ( Doesn't .Net rock ? )
S Stefan Wuebbe Jun 15, 2005 #3 John Cosmas said: I need a function that will take today's date and add X days to it. It should return the new date after the add. Click to expand... In VFP you can add the desired number of days as integer to a given date value dResult = Date() + 5 Please do not crosspost -Stefan
John Cosmas said: I need a function that will take today's date and add X days to it. It should return the new date after the add. Click to expand... In VFP you can add the desired number of days as integer to a given date value dResult = Date() + 5 Please do not crosspost -Stefan
N newboy Aug 11, 2005 #4 code is under here: function newdate(adddays as integer) return date()+adddays endfuction