Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Defaulttimezone: Stsadm property (Office SharePoint Server)

SharePoint 2007

Applies To: Office SharePoint Server 2007

Description

Specifies the time zone for sites that are created in a Web application.

This property is equivalent to the Default Time Zone user interface setting that is located on the Web Application General Settings page of the SharePoint Central Administration Web site.

Syntax

stsadm -o setproperty

   -propertyname defaulttimezone

   -propertyvalue <A time zone specified by a numerical value>

   [-url <http://server_name>]

The syntax for the getproperty operation is:

stsadm -o getproperty

   propertyname defaulttimezone

   [-url <http://server_name>]

NoteNote:

You can substitute -pn for -propertyname and -pv for -propertyvalue.

Property values

The following table shows possible values.

Name

Value

propertyname

Gets or sets the name of the property.

propertyvalue

Any time zone that is recognized by Windows Server 2003 or Windows 2008. For example, a value of 13 equates to "(GMT-08:00) Pacific Time (US and Canada); Tijuana". For a complete list of valid time zones, see Regional and Language Settings (http://go.microsoft.com/fwlink/?LinkId=101551&clcid=0x409).

url

Typically, a path to the URL of the Web application, in the form http://server_name.

Examples

To set the default time zone to Central Time (US and Canada) on a Web application at port 1000, use the following syntax:

stsadm -o setproperty -pn defaulttimezone -pv 11 –url http://[server_name]:1000

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.