Partilhar via


DateTimeControl.UseTimeZoneAdjustment Property

Gets or sets a value that indicates whether the time values in the control are automatically adjusted for daylight savings time.

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

Syntax

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

value = instance.UseTimeZoneAdjustment

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

Property Value

Type: System.Boolean
true if time values are automatically adjusted for daylight savings time; otherwise, false. The default is false.

See Also

Reference

DateTimeControl Class

DateTimeControl Members

Microsoft.SharePoint.WebControls Namespace