Last active
August 18, 2021 11:05
-
-
Save FatsackFails/764c73df268a4fe30cf127625b21ebcd to your computer and use it in GitHub Desktop.
Kruiz Control Snippet: Write Month to OBS Text Source
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OnInit | |
Function "var date = new Date(); var months = ['JAN', 'FEB', 'MAR', 'APR', 'MAY', 'JUN', 'JUL', 'AUG', 'SEP', 'OCT', 'NOV', 'DEC']; return {monthName: months[date.getMonth()]}" | |
OBS Source "Date" Text "{monthName}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
KC Version: v1.5.0
Usage:
OnInit
For a breakdown of this Kruiz Control event including KC actions, triggers, and JavaScript, read the blog post on my website.