{
"name": "date",
"description": "Display or set date and time",
"options": [
{
"names": [
"-d"
],
"description": "Set the kernel's value for daylight saving time",
"takes_arg": true,
"arg": {
"name": "dst"
}
},
{
"names": [
"-f"
],
"description": "Use specified format for input instead of the default [[[mm]dd]HH]MM[[cc]yy][.ss] format",
"takes_arg": true,
"arg": {
"name": "input_fmt",
"description": "The format with which to parse the new date value"
}
},
{
"names": [
"-j"
],
"description": "Don't try to set the date"
},
{
"names": [
"-n"
],
"description": "Only set time on the current machine, instead of all machines in the local group"
},
{
"names": [
"-R"
],
"description": "Use RFC 2822 date and time output format"
},
{
"names": [
"-r"
],
"description": "Print the date and time represented by the specified number of seconds since the Epoch",
"takes_arg": true,
"arg": {
"name": "seconds",
"description": "Number of seconds since the Epoch (00:00:00 UTC, January 1, 1970)"
}
},
{
"names": [
"-t"
],
"description": "Set the system's value for minutes west of GMT",
"takes_arg": true,
"arg": {
"name": "minutes_west"
}
},
{
"names": [
"-u"
],
"description": "Display or set the date in UTC (Coordinated Universal) time"
},
{
"names": [
"-v"
],
"description": "Adjust and print (but don't set) the second, minute, hour, month day, week day, month, or year according to val",
"takes_arg": true,
"arg": {
"name": "val",
"description": "[+|-]val[ymwdHMS]"
}
}
],
"args": [
{
"name": "new_time OR output_fmt",
"description": "New_time: [[[mm]dd]HH]MM[[cc]yy][.ss], output_fmt: '+' followed by user-defined format string"
}
]
}