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

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

# IServer.TimeInUtc

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

## TimeInUtc

Returns the server time in UTC.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

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

Python:

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

### Returns

`DateTime` — 

### Examples

C#:

```csharp
protected override void OnTick()
{
    Print("The Server Time in UTC is: {0}", Server.TimeInUtc);
}
```

Python:

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

