---
id: "P:cAlgo.API.Plugin.TimeInUtc"
kind: "property"
type: "T:cAlgo.API.Plugin"
url: "https://help.ctrader.com/ctrader-algo/references/General/Plugin/TimeInUtc/"
---

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

# Plugin.TimeInUtc

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

## TimeInUtc

Returns the current server time in UTC. The shortcut to the Server.TimeInUtc property.

Environments: Desktop supported · CLI not supported · Cloud not supported.

- CLI: Plugins cannot run in the CLI: ctrader-cli runs cBots only.
- Cloud: Plugins cannot run in the cloud: it runs cBots only.

C#:

```csharp
public DateTime TimeInUtc {get;}
```

Python:

```python
api.TimeInUtc: DateTime
```

### Returns

`DateTime` — 

### Examples

C#:

```csharp
Print("The Server Time in UTC is: {0}", TimeInUtc);
```

Python:

```python
api.Print(f"The Server Time in UTC is: {api.TimeInUtc}")
```

