Date.TimezoneOffset Property

Definition

Caution

deprecated

Returns the offset, measured in minutes, for the local time zone relative to UTC that is appropriate for the time represented by this <code>Date</code> object.

[System.Obsolete("deprecated")]
public virtual int TimezoneOffset { [Android.Runtime.Register("getTimezoneOffset", "()I", "GetGetTimezoneOffsetHandler")] get; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getTimezoneOffset", "()I", "GetGetTimezoneOffsetHandler")>]
member this.TimezoneOffset : int

Property Value

Int32

the time-zone offset, in minutes, for the current time zone.

Attributes

Remarks

Java documentation for java.util.Date.getTimezoneOffset().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to