Next: , Up: Time Formats   [Contents][Index]


3.2.3.1 Time Components

The following format directives print single components of the time.

H

hour (00..23)

I

hour (01..12)

k

hour ( 0..23)

l

hour ( 1..12)

p

locale’s AM or PM

Z

time zone (e.g., EDT), or nothing if no time zone is determinable

M

minute (00..59)

S

second (00..61). There is a fractional part.

@

seconds since Jan. 1, 1970, 00:00 GMT, with fractional part.

The fractional part of the seconds field is of indeterminate length and precision. That is, the length of the fractional part of the seconds field will in general vary between findutils releases and between systems. This means that it is unwise to assume that field has any specific length. The length of this field is not usually a guide to the precision of timestamps in the underlying file system.