Returns the day of the month

Description

getUTCDate()
Returns the day of the month (1 through 31) for the UTC date.

Example


var myDate = new Date();
console.log(myDate.getUTCDate());

The code above generates the following result.





















Home »
  Javascript »
    Javascript Reference »




Array
Canvas Context
CSSStyleDeclaration
CSSStyleSheet
Date
Document
Event
Global
History
HTMLElement
Input Element
Location
Math
Number
String
Window