Skip to content

Algo.TimeZone

property · Algo · cAlgo.API.Internals

DesktopCLICloud

TimeZone of a cBot or an Indicator.

Definition

public TimeZoneInfo TimeZone {get;}
api.TimeZone: TimeZoneInfo

Returns TimeZoneInfo

Examples

Print("Algo time zone: {0}, algo time: {1}", TimeZone.DisplayName, Time);
api.Print(f"Algo time zone: {api.TimeZone.DisplayName}, algo time: {api.Time}")