Share via


DateTimeControl.TimeZoneID Property

Gets or sets the identifier for the time zone used to display time values.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<BindableAttribute(True)> _
Public Property TimeZoneID As Integer
    Get
    Set
'Usage
Dim instance As DateTimeControl
Dim value As Integer

value = instance.TimeZoneID

instance.TimeZoneID = value
[BindableAttribute(true)]
public int TimeZoneID { get; set; }

Property Value

Type: System.Int32
An integer that indicates the control's time zone identifier. The default is -1.

See Also

Reference

DateTimeControl Class

DateTimeControl Members

Microsoft.SharePoint.WebControls Namespace

Other Resources

Time Zone Identifier