Display a digital clock using an strftime format string (see strftime(3))

xclock

xclock -digital -strftime {{format}}

click the source code to copy install xclock on any operating system with command-not-found.com