Reference > Day Object > Day Object Properties > Date Property (Day) |
The Date property sets the date that will be either a holiday or workday.
object.Date= variant
Read/Write at run time. Not available at design time.
100/1/1 - 9999/12/31
A holiday or a workday can easily be added to a DaysCollection by using the Add method provided in the HolidayStyle object.
A range of dates can be set by using the Date property together with the Date2 property.
A trappable error will occur if you set the Date property to Null.