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

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

# BacktestingSettings.StartTimeUtc

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

## StartTimeUtc

Gets or sets the start time in UTC for the backtesting period.

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

- CLI: Available to plugins only, and plugins cannot run in the CLI.
- Cloud: Available to plugins only, and plugins cannot run in the cloud.

C#:

```csharp
public DateTime StartTimeUtc {get; set;}
```

Python:

```python
backtestingSettings.StartTimeUtc: DateTime
```

### Returns

`DateTime` — 

### Examples

C#:

```csharp
var settings = new BacktestingSettings { StartTimeUtc = Server.TimeInUtc.AddMonths(-3) };
Print("Backtesting starts at {0:u}", settings.StartTimeUtc);
```

Python:

```python
settings = BacktestingSettings()
settings.StartTimeUtc = api.Server.TimeInUtc.AddMonths(-3)
api.Print(f"Backtesting starts at {settings.StartTimeUtc}")
```

