JavaScript Date and Time Functions List

Method:

  • JavaScript Date and Time Functions List

List of Date function provide the detail uses of Date Functions of the Javascript

  • getDate(): It is used to get the day as a number (1-31).
  • getFullYear(): It is used to get the year.
  • getHours(): It is used to get the hour (0-23).
  • getMilliseconds(): It is used to get the milliseconds (0-999).
  • getMinutes(): It is used to get the minutes (0-59).
  • getMonth(): It is used to get the month (0-11).
  • getSeconds(): It is used to get the seconds (0-59).
  • getTime(): It is used to get the time.
  • getDay(): It is used to get the weekday as a number (0-6).
  • Date.now(): It is used to get the time.
  • JavaScript Date and Time Functions List

JavaScript Date and Time Functions List

Scroll to top