hour
Hour (0-23) of the bar open in the exchange time zone.
hour(time: int, timezone: string = na) -> int
Parameters
timeint: A UTC time in milliseconds, like time or time_close; na gives na.timezonestring: an IANA name such as "America/New_York", or "UTC", "UTC+2", "GMT-5"
Example
hour(time, "America/New_York")