Reference > Day Object > Day Object Properties > Date2 Property (Day) |
Sets/returns a date to specify a range.
object.Date2= variant
Read/Write at run time. Not available at design time.
100/1/1 - 9999/12/31 (Null by default)
There may be times when a range of dates need to be specified as holidays, for example, spring, summer or winter vacations. By using the Date2 property together with the Date property, a range of dates can be specified easily.
When a holiday or workday range is not being used, make sure that the Date2 property is set to Null.