English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

JavaScript getUTCDate() Method

 JavaScript Date Object

getUTCDate()Returns the day of the month for a specific date object based on UTC1-31).

getUTCDate()The returned value is1to31The integer between.

World Standard Time (UTC) is the time standard set for world time.

For the day of the week, seegetUTCDay()Method.

Syntax:

date.getUTCDate()
var d = new Date();
d.getUTCDate();
Test and see‹/›

Browser Compatibility

All browsers fully support the getUTCDate() method:

Method
getUTCDate()isisisisis

Technical Details

Return value:1to31The integer between represents a specific day of the month
JavaScript Version:ECMAScript 1

More Examples

Return the month and date of a specific date and time:

var d = new Date('August 20, 1999 23:15:30');
d.getUTCDate();
Test and see‹/›

 JavaScript Date Object