Results 21 - 40 of 54
The getUTCSeconds()
method returns the seconds in the specified date according to universal time.
The Date.now()
method returns the number of milliseconds elapsed since 1 January 1970 00:00:00 UTC.
The
Date.prototype
property represents the prototype for the
Date
constructor.
The
setDate()
method sets the day of the
Date
object relative to the beginning of the currently set month.
The setFullYear()
method sets the full year for a specified date according to local time. Returns new timestamp.
The
setHours()
method sets the hours for a specified date according to local time, and returns the number of milliseconds since 1 January 1970 00:00:00 UTC until the time represented by the updated
Date
instance.
The setMilliseconds()
method sets the milliseconds for a specified date according to local time.
The setMinutes()
method sets the minutes for a specified date according to local time.
The setMonth()
method sets the month for a specified date according to the currently set year.
The setSeconds()
method sets the seconds for a specified date according to local time.
The
setTime()
method sets the
Date
object to the time represented by a number of milliseconds since January 1, 1970, 00:00:00 UTC.
The setUTCDate()
method sets the day of the month for a specified date according to universal time.
The setUTCFullYear()
method sets the full year for a specified date according to universal time.
The
setUTCHours()
method sets the hour for a specified date according to universal time, and returns the number of milliseconds since 1 January 1970 00:00:00 UTC until the time represented by the updated
Date
instance.
The setUTCMilliseconds()
method sets the milliseconds for a specified date according to universal time.
The setUTCMinutes()
method sets the minutes for a specified date according to universal time.
The setUTCMonth()
method sets the month for a specified date according to universal time.
The setUTCSeconds()
method sets the seconds for a specified date according to universal time.
The
toDateString()
method returns the date portion of a
Date
object in human readable form in American English.
The
toJSON()
method returns a string representation of the
Date
object.