Files
bare-operating-system/packages/bare-os-coreutils/man/pages/date.json
T
2026-04-03 22:34:08 -04:00

24 lines
740 B
JSON

{
"name": "date",
"section": 1,
"title": "display or set date and time",
"synopsis": ["date [OPTION]... [OPERAND]..."],
"description": "Prints the current date and time, or formats it with a leading +FORMAT string (subset of strftime: %Y %m %d %H %M %S %s %z %a %b %%). Setting the clock is not supported.",
"options": [
{ "flag": "-u, --utc", "meaning": "Use UTC for default output and +FORMAT" },
{ "flag": "+FORMAT", "meaning": "strftime-like format (see description)" }
],
"keywords": ["date", "bare-os", "coreutils"],
"examples": [
{
"caption": "RFC-ish output",
"code": "date"
},
{
"caption": "epoch seconds",
"code": "date +%s"
}
],
"listCategory": "coreutils"
}