Dates & Times
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Hard
Wayground Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default value of a new Date object in JavaScript if no parameters are provided?
January 1, 1970
December 31, 1999
Today's date
The date of the script execution
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid way to create a date object for September 10, 1981?
new Date('September 10, 1981')
new Date('1981-09-10')
new Date(1981, 9, 10)
new Date('10/09/1981')
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does JavaScript represent the month of January in a Date object?
0
1
January
Jan
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What method would you use to get the full year from a Date object?
getYearComplete()
getYearFull()
getFullYear()
getYear()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If today is Wednesday, what number will 'getDay()' return?
5
4
2
3
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method would you use to change the month of a Date object to March?
setMonth(2)
setMonth(3)
setMonth('March')
setMonth(4)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'setFullYear()' method in a Date object?
To set the year of the date object
To retrieve the current year
To reset the year to 1970
To format the year as a string
Similar Resources on Wayground
2 questions
Selenium WebDriver with Java - Basics to Advanced and Frameworks - Working with Calendar Objects in Java
Interactive video
•
University
2 questions
Modern JavaScript from the Beginning - Second Edition - Date Methods and DateTimeFormat API
Interactive video
•
University
8 questions
Learn Java from Scratch - A Beginner's Guide - Step 13 - Java Dates - Exploring LocalDate - Comparing Dates and Creating
Interactive video
•
University
6 questions
Linux Operating System: A Complete Linux Guide for Beginners - System Utilities (Date, Calander, Sleep)
Interactive video
•
University
2 questions
Business Intelligence with Microsoft Power BI - with Material - Finding Day and Week of the Week/Month/Year
Interactive video
•
University
6 questions
Excel VBA Programming The Complete Guide - The Value vs. Text Properties
Interactive video
•
University
2 questions
Microsoft Excel 2021365 - Beginner to Advanced - Working with Time and Date Functions
Interactive video
•
University
2 questions
Business Intelligence with Microsoft Power BI - with Material - Basic Date M Functions
Interactive video
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms
Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University
20 questions
La Hora
Quiz
•
9th Grade - University
7 questions
Cell Transport
Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University