2020-07-28 15:31:18 +01:00
|
|
|
# xclock
|
|
|
|
|
|
|
|
> Display the time in analog or digital form.
|
2022-01-27 14:22:02 +00:00
|
|
|
> More information: <https://manned.org/xclock>.
|
2020-07-28 15:31:18 +01:00
|
|
|
|
|
|
|
- Display an analog clock:
|
|
|
|
|
|
|
|
`xclock`
|
|
|
|
|
|
|
|
- Display a 24-hour digital clock with the hour and minute fields only:
|
|
|
|
|
|
|
|
`xclock -digital -brief`
|
|
|
|
|
|
|
|
- Display a digital clock using an strftime format string (see strftime(3)):
|
|
|
|
|
|
|
|
`xclock -digital -strftime {{format}}`
|
|
|
|
|
|
|
|
- Display a 24-hour digital clock with the hour, minute and second fields that updates every second:
|
|
|
|
|
|
|
|
`xclock -digital -strftime '%H:%M:%S' -update 1`
|
|
|
|
|
|
|
|
- Display a 12-hour digital clock with the hour and minute fields only:
|
|
|
|
|
|
|
|
`xclock -digital -twelve -brief`
|