maux
Star on GitHub Buy me a coffee

Manual / date

date(1)

DATE(1) General Commands Manual DATE(1)

date - print the date

date [+format]

The current date is printed, on maux to the minute: YYYY-MM-DD HH:MM. A single operand beginning with + selects a format instead.

%Y %y %m %d
Year, two-digit year, month and day.
%H %M %S
Hour, minute and seconds. Seconds are always 00.
%F %D %R %T
Equivalent to %Y-%m-%d, %m/%d/%y, %H:%M and %H:%M:%S.
%n %t %%
Newline, tab and a percent sign.

Other characters are copied literally. For example:

date +%Y%m%d

The command does not set the clock.

/usr/man/DATE this page

touch(1), time(1), licenses(1)

Exit status is 0 on success, 1 for an absent or unusable clock stamp, 2 for usage errors or unsupported format conversions.

ProDOS time has minute resolution. Weekday/month names and day-of-year conversions are not implemented. The legacy year window pivots at 78; this is not a general calendar interface.

September 19, 2026 maux