dayofweek

Day of week of the bar open in the exchange time zone (dayofweek.sunday = 1 ... dayofweek.saturday = 7).

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

Parameters

Example

dayofweek(time, "America/New_York")