ComponentOne True DBInput Pro 8.0
TimeOffset Property (DSTStyle)

 

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

TimeOffset Property (DSTStyle)

Sets/returns the time offset of the Daylight Savings Time (DST) from the Standard Time.

Syntax

object.TimeOffset= integer

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

Values

0 - 120 (60 is the default)

Remarks

You can use this property to set the offset of the Daylight Savings Time from the Standard Time. This property is determined in minutes.

Dim objTZ As New TDBTZoneX6Lib.TDBTZoneX

Dim DSTS As TDBTZoneX6Lib.DSTStyle

' Add a new DSTStyle object

Set DSTS = objTZ.DSTStyles.Add(, "CN")

' Automatically adjust 2 hours for DST changes

DSTS.TimeOffset = 120

If set to 0, the DST changes will be disabled completely and all times will return as Standard Time.

See Also

EndDay Property (DSTStyle)

EndMonth Property (DSTStyle)

EndTime Property (DSTStyle)

EndWhichWeek Property (DSTStyle)

EndWeekday Property (DSTStyle)

StartDay Property (DSTStyle)

StartMonth Property (DSTStyle)

StartTime Property (DSTStyle)

StartWhichWeek Property (DSTStyle)

StartWeekday Property (DSTStyle)

 

 


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

Product Support Forum  |  Documentation Feedback