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

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

# Algo.Time

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

## Time

Returns the current server time. The shortcut to the Server.Time property.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

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

Python:

```python
api.Time: DateTime
```

### Returns

`DateTime` — 

### Examples

C#:

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

Python:

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

