JS Date Flashcards

1
Q

getDate()

A

Returns the day of the month (from 1-31)

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

getDay()

A

Returns the day of the week (from 0-6)

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

getFullYear()

A

Returns the year (four digits)

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

getHours()

A

Returns the hour (from 0-23)

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

getMilliseconds()

A

Returns the milliseconds (from 0-999)

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

getMinutes()

A

Returns the minutes (from 0-59)

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

getMonth()

A

Returns the month (from 0-11)

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

getSeconds()

A

Returns the seconds (from 0-59)

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

getTime()

A

Returns the number of milliseconds since midnight Jan 1, 1970

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

getTimezoneOffset()

A

Returns the time difference between UTC time and local time, in minutes

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

getUTCDate()

A

Returns the day of the month, according to universal time (from 1-31)

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

getUTCDay()

A

Returns the day of the week, according to universal time (from 0-6)

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

getUTCFullYear()

A

Returns the year, according to universal time (four digits)

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

getUTCHours()

A

Returns the hour, according to universal time (from 0-23)

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

getUTCMilliseconds()

A

Returns the milliseconds, according to universal time (from 0-999)

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

getUTCMinutes()

A

Returns the minutes, according to universal time (from 0-59)

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

getUTCMonth()

A

Returns the month, according to universal time (from 0-11)

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

getUTCSeconds()

A

Returns the seconds, according to universal time (from 0-59)

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

getYear()

A

Deprecated. Use the getFullYear() method instead

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

parse()

A

Parses a date string and returns the number of milliseconds since January 1, 1970

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

setDate()

A

Sets the day of the month of a date object

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

setFullYear()

A

Sets the year (four digits) of a date object

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

setHours()

A

Sets the hour of a date object

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

setMilliseconds()

A

Sets the milliseconds of a date object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
setMinutes()
Set the minutes of a date object
26
setMonth()
Sets the month of a date object
27
setSeconds()
Sets the seconds of a date object
28
setTime()
Sets a date to a specified number of milliseconds after/before January 1, 1970
29
setUTCDate()
Sets the day of the month of a date object, according to universal time
30
setUTCFullYear()
Sets the year of a date object, according to universal time (four digits)
31
setUTCHours()
Sets the hour of a date object, according to universal time
32
setUTCMilliseconds()
Sets the milliseconds of a date object, according to universal time
33
setUTCMinutes()
Set the minutes of a date object, according to universal time
34
setUTCMonth()
Sets the month of a date object, according to universal time
35
setUTCSeconds()
Set the seconds of a date object, according to universal time
36
setYear()
Deprecated. Use the setFullYear() method instead
37
toDateString()
Converts the date portion of a Date object into a readable string
38
toGMTString()
Deprecated. Use the toUTCString() method instead
39
toISOString()
Returns the date as a string, using the ISO standard
40
toJSON()
Returns the date as a string, formatted as a JSON date
41
toLocaleDateString()
Returns the date portion of a Date object as a string, using locale conventions
42
toLocaleTimeString()
Returns the time portion of a Date object as a string, using locale conventions
43
toLocaleString()
Converts a Date object to a string, using locale conventions
44
toString()
Converts a Date object to a string
45
toTimeString()
Converts the time portion of a Date object to a string
46
toUTCString()
Converts a Date object to a string, according to universal time
47
UTC()
Returns the number of milliseconds in a date since midnight of January 1, 1970, according to UTC time
48
valueOf()
Returns the primitive value of a Date object
49
getDate()
Returns the day of the month (from 1-31)
50
getDay()
Returns the day of the week (from 0-6)
51
getFullYear()
Returns the year (four digits)
52
getHours()
Returns the hour (from 0-23)
53
getMilliseconds()
Returns the milliseconds (from 0-999)
54
getMinutes()
Returns the minutes (from 0-59)
55
getMonth()
Returns the month (from 0-11)
56
getSeconds()
Returns the seconds (from 0-59)
57
getTime()
Returns the number of milliseconds since midnight Jan 1, 1970
58
getTimezoneOffset()
Returns the time difference between UTC time and local time, in minutes
59
getUTCDate()
Returns the day of the month, according to universal time (from 1-31)
60
getUTCDay()
Returns the day of the week, according to universal time (from 0-6)
61
getUTCFullYear()
Returns the year, according to universal time (four digits)
62
getUTCHours()
Returns the hour, according to universal time (from 0-23)
63
getUTCMilliseconds()
Returns the milliseconds, according to universal time (from 0-999)
64
getUTCMinutes()
Returns the minutes, according to universal time (from 0-59)
65
getUTCMonth()
Returns the month, according to universal time (from 0-11)
66
getUTCSeconds()
Returns the seconds, according to universal time (from 0-59)
67
getYear()
Deprecated. Use the getFullYear() method instead
68
parse()
Parses a date string and returns the number of milliseconds since January 1, 1970
69
setDate()
Sets the day of the month of a date object
70
setFullYear()
Sets the year (four digits) of a date object
71
setHours()
Sets the hour of a date object
72
setMilliseconds()
Sets the milliseconds of a date object
73
setMinutes()
Set the minutes of a date object
74
setMonth()
Sets the month of a date object
75
setSeconds()
Sets the seconds of a date object
76
setTime()
Sets a date to a specified number of milliseconds after/before January 1, 1970
77
setUTCDate()
Sets the day of the month of a date object, according to universal time
78
setUTCFullYear()
Sets the year of a date object, according to universal time (four digits)
79
setUTCHours()
Sets the hour of a date object, according to universal time
80
setUTCMilliseconds()
Sets the milliseconds of a date object, according to universal time
81
setUTCMinutes()
Set the minutes of a date object, according to universal time
82
setUTCMonth()
Sets the month of a date object, according to universal time
83
setUTCSeconds()
Set the seconds of a date object, according to universal time
84
setYear()
Deprecated. Use the setFullYear() method instead
85
toDateString()
Converts the date portion of a Date object into a readable string
86
toGMTString()
Deprecated. Use the toUTCString() method instead
87
toISOString()
Returns the date as a string, using the ISO standard
88
toJSON()
Returns the date as a string, formatted as a JSON date
89
toLocaleDateString()
Returns the date portion of a Date object as a string, using locale conventions
90
toLocaleTimeString()
Returns the time portion of a Date object as a string, using locale conventions
91
toLocaleString()
Converts a Date object to a string, using locale conventions
92
toString()
Converts a Date object to a string
93
toTimeString()
Converts the time portion of a Date object to a string
94
toUTCString()
Converts a Date object to a string, according to universal time
95
UTC()
Returns the number of milliseconds in a date since midnight of January 1, 1970, according to UTC time
96
valueOf()
Returns the primitive value of a Date object
97
getDate()
Returns the day of the month (from 1-31)
98
getDay()
Returns the day of the week (from 0-6)
99
getFullYear()
Returns the year (four digits)
100
getHours()
Returns the hour (from 0-23)
101
getMilliseconds()
Returns the milliseconds (from 0-999)
102
getMinutes()
Returns the minutes (from 0-59)
103
getMonth()
Returns the month (from 0-11)
104
getSeconds()
Returns the seconds (from 0-59)
105
getTime()
Returns the number of milliseconds since midnight Jan 1 1970
106
getTimezoneOffset()
Returns the time difference between UTC time and local time in minutes
107
getUTCDate()
Returns the day of the month according to universal time (from 1-31)
108
getUTCDay()
Returns the day of the week according to universal time (from 0-6)
109
getUTCFullYear()
Returns the year according to universal time (four digits)
110
getUTCHours()
Returns the hour according to universal time (from 0-23)
111
getUTCMilliseconds()
Returns the milliseconds according to universal time (from 0-999)
112
getUTCMinutes()
Returns the minutes according to universal time (from 0-59)
113
getUTCMonth()
Returns the month according to universal time (from 0-11)
114
getUTCSeconds()
Returns the seconds according to universal time (from 0-59)
115
getYear()
Deprecated. Use the getFullYear() method instead
116
parse()
Parses a date string and returns the number of milliseconds since January 1 1970
117
setDate()
Sets the day of the month of a date object
118
setFullYear()
Sets the year (four digits) of a date object
119
setHours()
Sets the hour of a date object
120
setMilliseconds()
Sets the milliseconds of a date object
121
setMinutes()
Set the minutes of a date object
122
setMonth()
Sets the month of a date object
123
setSeconds()
Sets the seconds of a date object
124
setTime()
Sets a date to a specified number of milliseconds after/before January 1 1970
125
setUTCDate()
Sets the day of the month of a date object according to universal time
126
setUTCFullYear()
Sets the year of a date object according to universal time (four digits)
127
setUTCHours()
Sets the hour of a date object according to universal time
128
setUTCMilliseconds()
Sets the milliseconds of a date object according to universal time
129
setUTCMinutes()
Set the minutes of a date object according to universal time
130
setUTCMonth()
Sets the month of a date object according to universal time
131
setUTCSeconds()
Set the seconds of a date object according to universal time
132
setYear()
Deprecated. Use the setFullYear() method instead
133
toDateString()
Converts the date portion of a Date object into a readable string
134
toGMTString()
Deprecated. Use the toUTCString() method instead
135
toISOString()
Returns the date as a string using the ISO standard
136
toJSON()
Returns the date as a string formatted as a JSON date
137
toLocaleDateString()
Returns the date portion of a Date object as a string using locale conventions
138
toLocaleTimeString()
Returns the time portion of a Date object as a string using locale conventions
139
toLocaleString()
Converts a Date object to a string using locale conventions
140
toString()
Converts a Date object to a string
141
toTimeString()
Converts the time portion of a Date object to a string
142
toUTCString()
Converts a Date object to a string according to universal time
143
UTC()
Returns the number of milliseconds in a date since midnight of January 1 1970 according to UTC time
144
valueOf()
Returns the primitive value of a Date object