Reference > TDBDateX Object > TDBDateX Object Properties > MonthTable Property (TDBDateX) |
MonthTable Property (TDBDateX)
Returns a table containing all days of the month set in the Value property.
object.MonthTable(Index)
Read-only at run time. Not available at design time.
The MonthTable is an integer array, which holds all days, elements 0 through 41, of the current underlying month including the trailing days. The month table you retrieve may change accordingly depending on the setting of the StartOfWeek property, which determines the starting weekday. This is very effective when creating user-defined calendars.
If the Value property is set to Null, all elements in the MonthTable will return -1.
If the month table array includes days that are out of the 100/01/1 - 9999/12/31 range, those elements will also return -1.
See Also