Gets and sets the current timezone offset in seconds.
Syntax
object.TimeZone [= value]
The TimeZone property syntax has the following parts:
| Part |
Description |
| object
|
An object expression that
evaluates to an InternetMail object. |
| value
|
A long integer which specifies
timezone offset in seconds. |
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
Long
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
|