Skip to main content

$(hour)

$(hour <24hour> <pad>)

Displays the current hour of a day, if "pad" is added then the number will always be two digit places (ie 5 hours will always display as 05)

If "24hours" is present the hour will be formatted to 24 hour time, otherwise it defaults to 12hours