What's true about the Date
object?
new
keywordDate
object represents a particular date and timeDate
instances have methods that help us work with themDate
contains mathematical constants and methodsGood work! Date
instances, which we create with new
, represent a particular date and time and have methods like setTime()
that help us work with them.
Whoa! Date
instances, which we create with new
, represent a particular date and time and have methods like setTime()
that help us work with them.