date

Name

date -- print or set the system date and time

Description

The specification for "date" is as specified in the SUS but with the following differences as listed below.

Differences

-d, --date=STRING

display time described by STRING, not now

-f, --file=DATAFILE

like --date once for each line of DATEFILE

-r, --reference=FILE

display the last modification time of FILE

-R, --rfc-822

output RFC-822 compliant date string

-s, --set=STRING

set time described by STRING

--utc, --universal

equivalent to the -u option as specified in the SUS

--version

output version information and exit