date operators question

plugged

Member
Joined
Sep 13, 2005
Messages
11
Programming Experience
3-5
hi in help i found that there is and + and - operator for dates.

i want to add 1 to a date. in help it says to
dNewDate = dDate1 + nDays
now when i put this in to code
newdate = newdate + 1
i get the compile error
operator "+" is not defined for types "Date" and "Integer"
so how do i tell the computer the 1 is nDays not 1 the integer

cheers for any help
Plugged
 
Back
Top