date formats Flashcards
1
Q
%z
A
timezone offset. eg -500
2
Q
%Z
A
timezone name, eg EST
3
Q
%y
A
two digit year, eg 18
4
Q
%Y
A
full year, eg 2018
5
Q
%w
A
day of the week as number, 0-6
6
Q
%v
A
equivilent to ‘%e-%b-%Y’
7
Q
%W
A
week of the year (00-53)
8
Q
%T
A
= ‘%H:%M:%S’
9
Q
%s
A
sum seconds since Epoch, UTC
10
Q
%p
A
am/pm
11
Q
%m
A
month, (01-12)
12
Q
%M
A
Minute (00-59)
13
Q
%l
A
12-hour hr (1-12)
14
Q
%k
A
24-hr hr (0-23)
15
Q
%j
A
day of the year (001-366)