Share via


DateHeader.TimeZoneOffset property

The TimeZoneOffset property gets the time difference between the local time stored in this DateHeader object and coordinated universal time (UTC).

Namespace:  Microsoft.Exchange.Data.Mime
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public ReadOnly Property TimeZoneOffset As TimeSpan
    Get
'Usage
Dim instance As DateHeader
Dim value As TimeSpan

value = instance.TimeZoneOffset
public TimeSpan TimeZoneOffset { get; }

Property value

Type: System.TimeSpan

Remarks

The value returned by TimeZoneOffset can be added to the UtcDateTime property to obtain the local time.

See also

Reference

DateHeader class

DateHeader members

Microsoft.Exchange.Data.Mime namespace