> ## Documentation Index
> Fetch the complete documentation index at: https://superofficeas-bugfix-ty-screen-designer-paradox.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# TimeZone

> Gives access to timezone info. Call the global function getLocalTimeZone() to get the object.

Gives access to timezone info. Call the global function getLocalTimeZone() to get the object.

## Constructors

### TimeZone()

```crmscript theme={null}
TimeZone
```

Initializes a new instance of the TimeZone class.

## Methods

## getTimeZone()

This functions will give you the difference from GMT in hours and minutes.

```crmscript theme={null}
String getTimeZone()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - The time zone string on the form "+0100", "-0545" etc.

## getTimeZoneSecs()

Difference from GMT in seconds.

```crmscript theme={null}
Integer getTimeZoneSecs()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Difference from GMT in seconds.
