SubtractDays                                                                                         Function

 

SUBTRACTDAYS(theDate as Date, Days as Integer)

 

Description

Subtracts days from date and returns a new date value.

 

 

Example

Dim theDate as Date

Dim newDate as Date

TheDate=ToDate("01/01/97")

newDate=SubtractDays(theDate, 15) 'subtracts 15 days

 

newDate would now contain a date of 12/17/96