All apps/date

date

date

Display or set the date and time (BSD/macOS options).

Runs as date|macOS

Autocomplete

Fig spec, with what the manifest adds · 9 options
Published once and never changed; check the digest before caching
sha256
bdf8b0ee017a361ddd6da2d17e8944d2fe7c8fe9a03b35dbb3fc56459382ec6e
Size
2247 bytes
OptionsOn date itself
-d
Set the kernel's value for daylight saving time <dst>
-f
Use specified format for input instead of the default [[[mm]dd]HH]MM[[cc]yy][.ss] format <input_fmt> <new_date>
-j
Don't try to set the date
-n
Only set time on the current machine, instead of all machines in the local group
-R
Use RFC 2822 date and time output format
-r
Print the date and time represented by the specified number of seconds since the Epoch <seconds>
-t
Set the system's value for minutes west of GMT <minutes_west>
-u
Display or set the date in UTC (Coordinated Universal) time
-v
Adjust and print (but don't set) the second, minute, hour, month day, week day, month, or year according to val <val>
ArgumentsPositional, in order
<new_time OR output_fmt>
New_time: [[[mm]dd]HH]MM[[cc]yy][.ss], output_fmt: '+' followed by user-defined format string · optional