use strict;
use POSIX qw(strftime);
print strftime qq{
a: Day of Week (short, text) %a
A: Day of Week (long, text) %A
b: Monthname (short, text) %b
B: Monthname (long, text) %B
c: Full datetime (number, long) %c
d: Day (number) %d
H: Hour (24 hour) (number) %H
I: Hour (12 hour) (number) %I
j: Day of year (number) %j
m: Month (number) %m
M: Minutes (number) %M
p: am/pm/empty (text) %p
S: Seconds (number) %S
U: Week of Year (number) %U
w: Day of week (number) %w
W: Week of Year (number) %W
x: date (number) %x
X: time (number) %X
y: year (short, number) %y
Y: year (long, number) %Y
Z: timezone (text) %Z
},
localtime;