ComponentOne True DBInput Pro 8.0
StartDay Property (DSTStyle)

 

Reference> DSTStyle Object> DSTStyle Object Properties> StartDay Property (DSTStyle)

StartDay Property (DSTStyle)

Sets/returns the day on which Daylight Savings Time (DST) starts.

Syntax

object.StartDay= integer

Read/Write at run time. Not available at design time.

Values

0 - 31 (0 is the default)

Remarks

You can use the StartDay property to set an exact starting date for the Daylight Savings Time within a month. The month is determined by the StartMonth property.

If setting a day which is larger than the amount of the month specified by the StartMonth property, the StartDay will be automatically adjusted to the largest day in the month without any error occurring. In the case of February, StartDay will always be adjusted to 28 and the leap year will be handled internally by the object. For example:

With DSTS

.StartMonth = dbiApril

.StartDay = 31

End With

Debug.Print DSTS.StartDay

' Result

30

With this code, the StartDay property will automatically be adjusted to 30.

See Also

StartMonth Property (DSTStyle)

StartTime Property (DSTStyle)

StartWeekday Property (DSTStyle)

StartWhichWeek Property (DSTStyle)

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback