SWDV 210 Chapter 10
timestamp
A ______________ is an integer that represents a date and time as the number of seconds since midnight, January 1, 1970.
seconds
A timestamp stores the number of ________________ since midnight on January 1, 1970 GMT.
setDate
After you create a DateTime object, you can use its setTime method to change the time or its ________________ method to change the date.
2038
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________________.
relative
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.
diff
Which method of a DateTime object can be used to determine an amount of time between two dates or times?
DateTime
The use of ________________ objects resolves the Y2K38 problem because the upper limits of dates and times are essentially removed.
Y2K38
Timestamps will encounter a(n) _______ problem if they are not converted to DateTime objects.
new
To create a DateTime object for the current date, you use the ________________ keyword and pass no arguments to the constructor.
DateInterval
One of the methods of a DateTime object lets you add a/an __________ object to it.
True
T/F: A DateInterval object represents an internval of time rather than a point in time.
format
The date function makes it easy to create a timestamp for the current date and ________________ it before returning the value.
