3.2.2.5 Time Directives

Some of these directives use the C ctime function. Its output depends on the current locale, but it typically looks like

Wed Nov  2 00:42:36 1994
%a

File’s last access time in the format returned by the C ctime function.

%Ak

File’s last access time in the format specified by k (see Time Formats).

%Bk

File’s birth time, i.e., its creation time, in the format specified by k (see Time Formats).

This directive produces an empty string if the underlying operating system or filesystem does not support birth times.

%c

File’s last status change time in the format returned by the C ctime function.

%Ck

File’s last status change time in the format specified by k (see Time Formats).

%t

File’s last modification time in the format returned by the C ctime function.

%Tk

File’s last modification time in the format specified by k (see Time Formats).