Previous Topic

Next Topic

Book Contents

Book Index

TermsDate - MaxBasic Function

TermsDate(Date: Date, Unit: String, Count: Number [DayOfMonth: Number]): Date

Returns a Date having added the count of units (Periods, Months, Weeks, Days) optionally forcing the DayOfMonth for Months.

TermsDate function syntax has these named arguments:

Parameter

Description

Date

Required. Date to return Terms Date for.

Unit

Required. Values: P (Period), M (Months), W (Weeks), D (Days)

Count

Required. Count of Units to add.

DayOfMonth

Optional. For Months unit force the dat of month.