Skip to content

hourInTimeZone

hourInTimeZone(date, timeZone?): number

Defined in: visitorContext.ts:60

The hour (0–23) of date in timeZone. Without a time zone, the runtime’s local hour (in a browser, the visitor’s own).

Date

string

number