10.1;date, revision 1.0, 88/01/06
date -- Display the current date and time.
usage: date [-y] [-md] [-t] [-d] [-dmy]
[-f{rench}]
[-g{erman}]
[-i{talian}]
[-dan{ish}]
[-n{orwegian}]
[-s{wedish}]
[-sp{anish}]
[-fi{nnish}]
[-u{sa}]
DESCRIPTION
date prints the current system date and time. It requires no arguments
or options. If no options are specified, the date is displayed as shown
in Example 1 below. Dates in European languages are displayed using the
24-hour clock.
The hardware date and time may be set with the calendar command.
OPTIONS
-y Display year as yyyy.
-md Display month and day as mm/dd.
-t Display time in 24-hour format (hh:mm:ss).
-d Display year, month, and day.
-dmy Display date as dd/mm/yyyy.
-f[rench] Display date and time information in French.
-g[erman] Display date and time information in German.
-i[talian] Display date and time information in Italian.
-dan[ish] Display date and time information in Danish.
-n[orwegian] Display date and time information in Norwegian.
-s[wedish] Display date and time information in Swedish.
-sp[anish] Display date and time information in Spanish.
-fi[nnish] Display date and time information in Finnish.
EXAMPLES
$ date
Tuesday, May 3, 1988 4:20:15 pm (EDT)
$ date -t
15:36:14
$ date -d
1988/05/03
$ date -f
mardi, 5 janvier 1988 14:49:11