Clock.html GitHub File
Download the HTML File
In OBS add a Browser Source
Select local file
Browse to the clock.html file
adjust the height and width accordingly
You can edit the clock.html in the notepad app on windows, any other text editor on any other OS.
Lines 13 through 20 is where you...
This script transforms a text source into a digital clock. The datetime format is configurable and uses the same syntax than the Lua os.date() call, i.e.:
%a abbreviated weekday name (e.g., Wed)
%A full weekday name (e.g., Wednesday)
%b abbreviated month name (e.g., Sep)