# SessionSettings.TimeZone([Text]) Method
> Version: _Available or changed with runtime version 1.0._
Gets or sets the time zone property in a SessionSettings object.
## Syntax
```al
[TimeZone := ]  SessionSettings.TimeZone([NewTimeZone: Text])
```
> NOTE
> This method can be invoked using property access syntax.
## Parameters
SessionSettings
Type: sessionsettings-data-type
An instance of the sessionsettings-data-type data type.
*[Optional] NewTimeZone*
Type: ../text/text-data-type
Specifies the time zone property in the SessionsSettings object. The value must be a valid Windows time zone name, such as UTC or Pacific Standard Time.
## Return Value
*[Optional] TimeZone*
Type: ../text/text-data-type
The time zone set in the SessionSettings object.
## Remarks
The default time zone is UTC. This method can't be used in web service sessions.
## Example
This example creates a SessionSettings object that is populated with the current client user's personalization data, and then uses the TimeZone method to set the time zone to 'UTC' (Coordinated Universal Time). Finally, the RequestSessionUpdate method sends a request to the client to abandon the current session and start a new session that uses the new profile ID. This example requires a SessionSettings data type variable.
```al
var
  MySessionSettings : SessionSettings;
begin
  MySessionSettings.Init;
  MySessionSettings.TimeZone('UTC');
  MySessionSettings.RequestSessionUpdate(false);
end;
```
## Related information
sessionsettings-data-type
Get Started with AL<../../devenv-get-started>
Developing Extensions<../../devenv-dev-overview>
../../../webservices/managing-time-zones-with-web-services

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/sessionsettings/sessionsettings-timezone-method, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/methods-auto/sessionsettings/sessionsettings-timezone-method/
