Quiz Yourself: Working with Date and Time
Test your understanding of the DateTime struct, output formatting, and local versus UTC time behaviors.
We'll cover the following...
We'll cover the following...
Technical Quiz
1.
What happens when you instantiate a DateTime object using its default constructor (new DateTime())?
A.
It sets the value to the system’s current local date and time.
B.
It sets the value to midnight on January 1 of the year 0001.
C.
It sets the value to the Unix epoch of January 1, year 1970.
D.
It throws an exception because arguments are strictly required.
1 / 10
...