Quiz 10

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

Which of the following is a method of a DateTime object that can be used to determine an amount of time between two dates or times?

diff()

A timestamp stores the number of ________________ since midnight on January 1, 1970 GMT.

seconds

The diff() method of a DateTime object requires another DateTime object as its argument and returns a/an ________________ object.

DateInterval

The use of ________________ objects resolves the Y2K38 problem because the upper limits of dates and times are essentially removed.

DateTime

To create a DateTime object based on the date and time you specifiy, you use a/an ________________ template.

absolute

To create a DateTime object for the current date, you use the ________________ keyword and pass no arguments to the constructor.

new

To create a DateTime object based on an offset you specify to the current date and time, you use a/an ________________ template.

relative

Which of the following functions can you use to modify a DateTime object?

setDate(), setTime(), modify()

A/An ______________ is an integer that represents a date and time as the number of seconds since midnight, January 1, 1970.

timestamp

When you create a DateInterval object, you pass it one argument that specifies one or more of the following:

years, months, weeks, days, hours, minutes, seconds

Timestamps will encounter a/an _______ problem if they are not converted to DateTime objects.

Y2K38

Which of the following is a method of a DateTime object that can be used to add a period of time to the date?

add()


Set pelajaran terkait

Step 3 - Compile Study Materials

View Set

HESI Module #2 Health Promotion and Disease Prevention

View Set

Solving an Equation Involving a Binomial Squared

View Set

NRS-304 Pharmacology II Chapter 9

View Set

Physics- Ch 7, Physics Ch 8 MC, Physics Ch 9 MC, Physics Chapter 10 MC, Physics Ch 11 MC, Physics Ch 17 MC, Physics Ch 16 MC

View Set

Essential Vocaublary-Solving Equations & Special Solutions

View Set