Section 1

Preview this deck

setDate

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (12)

Section 1

(12 cards)

setDate

Front

After you create a DateTime object, you can use its setTime method to change the time or its ________________ method to change the date.

Back

2038

Front

Because most systems today store timestamps as 32-bit signed integers, the upper limit of a timestamp on these systems is January 19 in the year________________.

Back

new

Front

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

Back

DateInterval

Front

One of the methods of a DateTime object lets you add a/an __________ object to it.

Back

timestamp

Front

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

Back

DateTime

Front

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

Back

Y2K38

Front

Timestamps will encounter a(n) _______ problem if they are not converted to DateTime objects.

Back

relative

Front

When you use the strtotime function, you can use an absolute template to create a timestamp for the date that you specify, or you can use a ________________ template to create a timestamp for the current date and adjust it based on the offsets that you specify.

Back

diff

Front

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

Back

format

Front

The date function makes it easy to create a timestamp for the current date and ________________ it before returning the value.

Back

seconds

Front

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

Back

True

Front

T/F: A DateInterval object represents an internval of time rather than a point in time.

Back