Reference > DSTStyle Object > DSTStyle Object Properties > StartMonth Property (DSTStyle) |
StartMonth Property (DSTStyle)
Sets/returns the month in which the Daylight Savings Time (DST) starts.
object.StartMonth= 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 a starting month for the Daylight Savings Time within a year.
When the StartMonth property is changed, there may be a problem where the StartDay property value will be larger than the amount of days of the appropriate month. In this case, the StartDay 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