Examples (5)
Display an analog clock
Display a 24-hour digital clock with the hour and minute fields only
xclock -digital -briefDisplay a digital clock using an strftime format string (see strftime(3))
xclock -digital -strftime formatDisplay a 24-hour digital clock with the hour, minute, and second fields that updates every second
xclock -digital -strftime '%H:%M:%S' -update 1Display a 12-hour digital clock with the hour and minute fields only
xclock -digital -twelve -briefmade by @shridhargupta | data from tldr-pages