SocketTools .NET Edition

HttpClient.TimeZone Property

Gets and sets the current timezone offset in seconds.

[Visual Basic]
Public Property TimeZone As Integer
[C#]
public int TimeZone {get; set;}

Property Value

An integer value which specifies the current 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.

This property value is used in conjunction with the Localize property to control how date and time localization is handled.

See Also

HttpClient Class | SocketTools Namespace