Condividi tramite


Managing Time Zones with Web Services

Microsoft Dynamics NAV Server provides a Services Default Time Zone setting for defining the time zone in which web service calls run. This setting affects both SOAP and OData web services, as well as NAS Services.

Time Zone Configuration

You can configure the Services Default Time Zone using Microsoft Dynamics NAV Server Administration Tool, Microsoft Dynamics NAV Windows PowerShell Cmdlets, or by directly editing CustomSettings.config, the configuration file, for the relevant Microsoft Dynamics NAV Server instance. The following table describes the possible values for the Services Default Time Zone setting.

Value Description

UTC

Specifies that all business logic for services on the server instance runs in Coordinated Universal Time (UTC). This is the default value. This is how all web services business logic was handled in Microsoft Dynamics NAV 2009 SP1 and Microsoft Dynamics NAV 2009.

Server Time Zone

Specifies that services use the time zone of the computer running Microsoft Dynamics NAV Server.

ID of any Windows time zone

Specifies that services use a Windows time zone as defined in the system registry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones. For example, Romance Standard Time is a valid Windows time zone value.