English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
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.
date.getUTCDate()
var d = new Date(); d.getUTCDate();Test and see‹/›
All browsers fully support the getUTCDate() method:
Method | |||||
getUTCDate() | is | is | is | is | is |
Return value: | 1to31The integer between represents a specific day of the month |
---|---|
JavaScript Version: | ECMAScript 1 |
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‹/›