Skip to content
Advertisements

Day: February 7, 2019

Date.setTime()

JavaScript Date.setTime()

Javascript Date setTime() method sets the Date object to the time represented by a number of milliseconds since January 1, 1970, 00:00:00 UTC.

Date.setHours()

JavaScript Date.setHours()

The JavaScript Date setHours () method is a built-in function. Sets the time of a specific date according to local time

Date.setDate()

JavaScript Date.setDate()

The JavaScript Date setDate () method is a built-in function. This metadata sets the day of the month for a specific date by local time.