SPWebApplication.DefaultTimeZone property

Gets or sets the default time zone for the Web application.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property DefaultTimeZone As Integer
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Integer

value = instance.DefaultTimeZone

instance.DefaultTimeZone = value
public int DefaultTimeZone { get; set; }

Property value

Type: System.Int32
A 32-bit integer that specifies the time zone.

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace