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

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

# Plugin.Time

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

## Time

Returns the current server time. The shortcut to the Server.Time 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 Time {get;}
```

Python:

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

### Returns

`DateTime` — 

### Examples

C#:

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

Python:

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

