Skip to main content

$(clock)

$(clock <format>)

Displays the current time as a single formatted string, updating every second in overlays. With no format it displays HH:mm (24-hour). The format accepts Luxon format tokens — an easier alternative to stitching $(hour), $(minute) and $(second) together by hand.

Common Formats

ExpressionOutput
$(clock)21:05
$(clock HH:mm:ss)21:05:42
$(clock h:mm a)9:05 PM
$(clock yyyy-MM-dd)2026-07-03
$(clock EEEE, MMMM d)Friday, July 3