Go to the first, previous, next, last section, table of contents.
date
directives related to times.
- `%H'
-
hour (00...23)
- `%I'
-
hour (01...12)
- `%k'
-
hour ( 0...23)
- `%l'
-
hour ( 1...12)
- `%M'
-
minute (00...59)
- `%p'
-
locale's AM or PM
- `%r'
-
time, 12-hour (hh:mm:ss [AP]M)
- `%s'
-
seconds since the epoch, i.e., 1 January 1970 00:00:00 UTC (a
GNU extension).
Note that this value is the number of seconds between the epoch
and the current date as defined by the localtime system call.
It isn't changed by the `--date' option.
- `%S'
-
second (00...61)
- `%T'
-
time, 24-hour (hh:mm:ss)
- `%X'
-
locale's time representation (%H:%M:%S)
- `%z'
-
RFC-822 style numeric time zone (e.g., -0600 or +0100), or nothing if no
time zone is determinable. This value reflects the current time
zone. It isn't changed by the `--date' option.
- `%Z'
-
time zone (e.g., EDT), or nothing if no timezone is
determinable.
Note that this value reflects the current time zone.
It isn't changed by the `--date' option.
Go to the first, previous, next, last section, table of contents.