year

Year of the bar open in the exchange time zone.

year(time: int, timezone: string = na) -> int

Parameters

Example

year(time, "America/New_York")