9base-date(1)

9base-date1

Date and time

Usage

date [option] [seconds]

Overview

Print the date, in the format

Tue Aug 16 17:03:52 CDT 1977

The options are

-u

Report Greenwich Mean Time (GMT) rather than local time.

-n

Report the date as the number of seconds since the epoch, 00:00:00 GMT, January 1, 1970.

The conversion from Greenwich Mean Time to local time depends on the $timezone environment variable; see ctime(3).

If the optional argument seconds is present, it is used as the time to convert rather than the real time.

Source

/src/cmd/date.c

Releases

Unchanged in 2 releases since Debian 4.0 (Etch).

  1. 4.0–5.0

From 9base 1:2-8 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.