Reference > DSTStyle Object > DSTStyle Object Properties > EndMonth Property (DSTStyle) |
EndMonth Property (DSTStyle)
Sets/returns the month in which the Daylight Savings Time (DST) ends.
object.EndMonth= value
Read/Write at run time. Not available at design time.
Description |
Run Time |
1 - January |
dbiJanuary |
2 - February |
dbiFebruary |
3 - March |
dbiMarch |
4 - April |
dbiApril |
5 - May |
dbiMay |
6 - June |
dbiJune |
7 - July |
dbiJuly |
8 - August |
dbiAugust |
9 - September |
dbiSeptember |
10 - October |
dbiOctober |
11 - November |
dbiNovember |
12 - December |
dbiDecember |
This property allows you to set an ending month for the DST within a year.
When the EndMonth property is changed, there may be a problem where the EndDay property value will be larger than the amount of days in the appropriate month. In this case, the EndDay property will be automatically adjusted to the largest day in the month. For the month of February, the largest day will be set as 28, since leap year will be handled internally by the object.
See Also
StartMonth Property (DSTStyle)