---
id: "P:cAlgo.API.PluginAttribute.TimeZone"
kind: "property"
type: "T:cAlgo.API.PluginAttribute"
url: "https://help.ctrader.com/ctrader-algo/references/Attributes/PluginAttribute/TimeZone/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# PluginAttribute.TimeZone

Member of [PluginAttribute](https://help.ctrader.com/ctrader-algo/references/Attributes/PluginAttribute/index.md).

## TimeZone

Sets the timezone for all the Plugin datetime references

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
public string TimeZone {get; set;}
```

Python:

```python
pluginAttribute.TimeZone: str
```

### Returns

`string` — 

### Examples

C#:

```csharp
public partial class NewPlugin : Plugin
{
    protected override void OnStart()
    {
        Print("Plugin time zone: {0}", TimeZone.DisplayName);
    }
}
```

Python:

```python
def on_start(self):
    api.Print(f"Plugin time zone: {api.TimeZone.DisplayName}")
```

config.json:

```json
{
  "AccessRights": "None",
  "TimeZone": "Eastern Standard Time"
}
```

