major date function specifiers Flashcards

1
Q

d

A

Day of the month, two digits, with leading zeros. 01 to 31

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

D

A

Day of the week, three letters. Mon to Sun

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

j

A

Day of the month, no leading zeros. 1 to 31

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

l

A

Day of week, full names. Sunday to Saturday

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

N

A

Day of week, numeric, Monday to Sunday. 1 to 7

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

S

A

Suffix for day of month (useful with specifier j) st, nd, rd, or th

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

w

A

Day of week, numeric, Sunday to Saturday. 0 to 6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

z

A

Day of year. 0 to 365

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

W

A

Week number or year. 01 to 52

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

F

A

Month name. January to December

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

m

A

Month number with leading zeros. 01 to 12

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

M

A

Month name, three letters. Jan to Dec

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

n

A

Month number, no leading zeros 1 to 12

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

t

A

Number of days in given month. 28 to 31

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

L

A

Leap year. 1 = Yes, 0 = No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

y

A

Year, 2 digits. 00 to 99

17
Q

Y

A

Year, 4 digits 0000 to 9999

18
Q

a

A

Before or after midday, lowercase. am or pm

19
Q

A

A

Before or after midday, uppercase. AM or PM

20
Q

g

A

Hour of day, 12-hour format, no leading zeros. 1 to 12

21
Q

G

A

Hour of day, 24-hour format, no leading zeros. 00 to 23

22
Q

h

A

Hour of day, 12-hour format, with leading zeros. 01 to 12

23
Q

H

A

Hour of day, 24-hour format, with leading zeros. 00 to 23

24
Q

i

A

Minutes, with leading zeros. 00 to 59

25
Q

s

A

Seconds, with leading zeros 00 to 59