Skip to main content

Time of Day

Runs on: Frontend (Chatbox) — only available in the Chatbox Flow Editor; runs inside the OBS browser source.

The Time of Day node outputs the current hour of the day as a number between 0 and 23, sampled at the moment each chat message is processed. It has no inputs — it simply reads the browser's local clock and sends the current hour downstream.

Connect the hour output to a Math check node to route messages to different variants based on the time of the stream. This lets you set a late-night mode, a morning greeting style, or any other time-sensitive layout without any backend involvement.

Note: the hour reflects the local time of the viewer's machine running OBS, not a server time zone. This is typically the streamer's own machine.

Outputs

NameTypeDescription
hournumberThe current hour (0–23) in the local time of the machine running the OBS browser source.

Example

Connect hour to a Math check set to "greater than or equal to 22". Route Pass (10 PM and later) to a "late night" variant with a darker background and softer colors. Route Fail to the daytime layout.