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
Q

setMinutes()

A

Set the minutes of a date object

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

setMonth()

A

Sets the month of a date object

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

setSeconds()

A

Sets the seconds of a date object

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

setTime()

A

Sets a date to a specified number of milliseconds after/before January 1, 1970

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

setUTCDate()

A

Sets the day of the month of a date object, according to universal time

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

setUTCFullYear()

A

Sets the year of a date object, according to universal time (four digits)

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

setUTCHours()

A

Sets the hour of a date object, according to universal time

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

setUTCMilliseconds()

A

Sets the milliseconds of a date object, according to universal time

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

setUTCMinutes()

A

Set the minutes of a date object, according to universal time

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

setUTCMonth()

A

Sets the month of a date object, according to universal time

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

setUTCSeconds()

A

Set the seconds of a date object, according to universal time

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

setYear()

A

Deprecated. Use the setFullYear() method instead

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

toDateString()

A

Converts the date portion of a Date object into a readable string

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

toGMTString()

A

Deprecated. Use the toUTCString() method instead

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

toISOString()

A

Returns the date as a string, using the ISO standard

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

toJSON()

A

Returns the date as a string, formatted as a JSON date

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

toLocaleDateString()

A

Returns the date portion of a Date object as a string, using locale conventions

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

toLocaleTimeString()

A

Returns the time portion of a Date object as a string, using locale conventions

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

toLocaleString()

A

Converts a Date object to a string, using locale conventions

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

toString()

A

Converts a Date object to a string

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

toTimeString()

A

Converts the time portion of a Date object to a string

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

toUTCString()

A

Converts a Date object to a string, according to universal time

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

UTC()

A

Returns the number of milliseconds in a date since midnight of January 1, 1970, according to UTC time

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

valueOf()

A

Returns the primitive value of a Date object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
49
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
50
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
51
Q

getFullYear()

A

Returns the year (four digits)

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

getHours()

A

Returns the hour (from 0-23)

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

getMilliseconds()

A

Returns the milliseconds (from 0-999)

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

getMinutes()

A

Returns the minutes (from 0-59)

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

getMonth()

A

Returns the month (from 0-11)

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

getSeconds()

A

Returns the seconds (from 0-59)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
57
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
58
Q

getTimezoneOffset()

A

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

59
Q

getUTCDate()

A

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

60
Q

getUTCDay()

A

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

61
Q

getUTCFullYear()

A

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

62
Q

getUTCHours()

A

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

63
Q

getUTCMilliseconds()

A

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

64
Q

getUTCMinutes()

A

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

65
Q

getUTCMonth()

A

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

66
Q

getUTCSeconds()

A

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

67
Q

getYear()

A

Deprecated. Use the getFullYear() method instead

68
Q

parse()

A

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

69
Q

setDate()

A

Sets the day of the month of a date object

70
Q

setFullYear()

A

Sets the year (four digits) of a date object

71
Q

setHours()

A

Sets the hour of a date object

72
Q

setMilliseconds()

A

Sets the milliseconds of a date object

73
Q

setMinutes()

A

Set the minutes of a date object

74
Q

setMonth()

A

Sets the month of a date object

75
Q

setSeconds()

A

Sets the seconds of a date object

76
Q

setTime()

A

Sets a date to a specified number of milliseconds after/before January 1, 1970

77
Q

setUTCDate()

A

Sets the day of the month of a date object, according to universal time

78
Q

setUTCFullYear()

A

Sets the year of a date object, according to universal time (four digits)

79
Q

setUTCHours()

A

Sets the hour of a date object, according to universal time

80
Q

setUTCMilliseconds()

A

Sets the milliseconds of a date object, according to universal time

81
Q

setUTCMinutes()

A

Set the minutes of a date object, according to universal time

82
Q

setUTCMonth()

A

Sets the month of a date object, according to universal time

83
Q

setUTCSeconds()

A

Set the seconds of a date object, according to universal time

84
Q

setYear()

A

Deprecated. Use the setFullYear() method instead

85
Q

toDateString()

A

Converts the date portion of a Date object into a readable string

86
Q

toGMTString()

A

Deprecated. Use the toUTCString() method instead

87
Q

toISOString()

A

Returns the date as a string, using the ISO standard

88
Q

toJSON()

A

Returns the date as a string, formatted as a JSON date

89
Q

toLocaleDateString()

A

Returns the date portion of a Date object as a string, using locale conventions

90
Q

toLocaleTimeString()

A

Returns the time portion of a Date object as a string, using locale conventions

91
Q

toLocaleString()

A

Converts a Date object to a string, using locale conventions

92
Q

toString()

A

Converts a Date object to a string

93
Q

toTimeString()

A

Converts the time portion of a Date object to a string

94
Q

toUTCString()

A

Converts a Date object to a string, according to universal time

95
Q

UTC()

A

Returns the number of milliseconds in a date since midnight of January 1, 1970, according to UTC time

96
Q

valueOf()

A

Returns the primitive value of a Date object

97
Q

getDate()

A

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

98
Q

getDay()

A

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

99
Q

getFullYear()

A

Returns the year (four digits)

100
Q

getHours()

A

Returns the hour (from 0-23)

101
Q

getMilliseconds()

A

Returns the milliseconds (from 0-999)

102
Q

getMinutes()

A

Returns the minutes (from 0-59)

103
Q

getMonth()

A

Returns the month (from 0-11)

104
Q

getSeconds()

A

Returns the seconds (from 0-59)

105
Q

getTime()

A

Returns the number of milliseconds since midnight Jan 1 1970

106
Q

getTimezoneOffset()

A

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

107
Q

getUTCDate()

A

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

108
Q

getUTCDay()

A

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

109
Q

getUTCFullYear()

A

Returns the year according to universal time (four digits)

110
Q

getUTCHours()

A

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

111
Q

getUTCMilliseconds()

A

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

112
Q

getUTCMinutes()

A

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

113
Q

getUTCMonth()

A

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

114
Q

getUTCSeconds()

A

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

115
Q

getYear()

A

Deprecated. Use the getFullYear() method instead

116
Q

parse()

A

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

117
Q

setDate()

A

Sets the day of the month of a date object

118
Q

setFullYear()

A

Sets the year (four digits) of a date object

119
Q

setHours()

A

Sets the hour of a date object

120
Q

setMilliseconds()

A

Sets the milliseconds of a date object

121
Q

setMinutes()

A

Set the minutes of a date object

122
Q

setMonth()

A

Sets the month of a date object

123
Q

setSeconds()

A

Sets the seconds of a date object

124
Q

setTime()

A

Sets a date to a specified number of milliseconds after/before January 1 1970

125
Q

setUTCDate()

A

Sets the day of the month of a date object according to universal time

126
Q

setUTCFullYear()

A

Sets the year of a date object according to universal time (four digits)

127
Q

setUTCHours()

A

Sets the hour of a date object according to universal time

128
Q

setUTCMilliseconds()

A

Sets the milliseconds of a date object according to universal time

129
Q

setUTCMinutes()

A

Set the minutes of a date object according to universal time

130
Q

setUTCMonth()

A

Sets the month of a date object according to universal time

131
Q

setUTCSeconds()

A

Set the seconds of a date object according to universal time

132
Q

setYear()

A

Deprecated. Use the setFullYear() method instead

133
Q

toDateString()

A

Converts the date portion of a Date object into a readable string

134
Q

toGMTString()

A

Deprecated. Use the toUTCString() method instead

135
Q

toISOString()

A

Returns the date as a string using the ISO standard

136
Q

toJSON()

A

Returns the date as a string formatted as a JSON date

137
Q

toLocaleDateString()

A

Returns the date portion of a Date object as a string using locale conventions

138
Q

toLocaleTimeString()

A

Returns the time portion of a Date object as a string using locale conventions

139
Q

toLocaleString()

A

Converts a Date object to a string using locale conventions

140
Q

toString()

A

Converts a Date object to a string

141
Q

toTimeString()

A

Converts the time portion of a Date object to a string

142
Q

toUTCString()

A

Converts a Date object to a string according to universal time

143
Q

UTC()

A

Returns the number of milliseconds in a date since midnight of January 1 1970 according to UTC time

144
Q

valueOf()

A

Returns the primitive value of a Date object