Gets and sets the current timezone offset in seconds.
Syntax
object.TimeZone [= value ]
Remarks
The TimeZone property returns the current offset from UTC
in seconds. Setting the property changes the current timezone offset
to the specified value. The value of this property is initially
determined by the date and time settings on the local system.
The TimeZone property value is used in conjunction with the
Localize property to control how message date and time
localization is handled.
Data Type
Integer (Int32)
Example
The following code enables localization and changes the current
timezone to Eastern Standard, which is five hours (18,000 seconds)
west of UTC:
InternetMail1.Localize = True
InternetMail1.TimeZone = (5 * 60 * 60)
See Also
Localize Property
|