SetPeriod sets the Date value using one or more date points combined with a Period Type to set the date in the period format:
dt:SetPeriod(strPeriodType, dpDatePoint1 [,dpDatePoint2])
| from | The date-point provided in dpDatePoint1 is required and is the from date, no end date is used. |
|---|---|
| to | The date-point provided in dpDatePoint1 is required and is the to date, no start date is used. |
| from-to | Both dpDatePoint1 and dpDatePoint2 are required and are used as the from and to date respectively. |
dtOccuDate:SetPeriod('from-to',dpStartDate,dpEndDate)