Manual / date
date(1)
| DATE(1) | General Commands Manual | DATE(1) |
NAME
date - print the date
SYNOPSIS
date [+format]
DESCRIPTION
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.
FILES
/usr/man/DATE this page
SEE ALSO
DIAGNOSTICS
Exit status is 0 on success, 1 for an absent or unusable clock stamp, 2 for usage errors or unsupported format conversions.
BUGS
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 |