A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/javascript/Date/getUTCDate below:

getUTCDate ยท WebPlatform Docs

getUTCDate Summary

Gets the day-of-the-month, using Universal Coordinated Time (UTC).

Syntax
dateObj.getUTCDate()
Return Value

Returns an integer between 1 and 31 that represents the day-of-the-month.

Examples

The following example shows how to use the getUTCDate method.

var date = new Date("1/23/2001");
 document.write(date.getUTCDate());

 
Remarks

The required dateObj reference is a Date object. To get the day of the month using local time, use the getDate method.

See also Other articles Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4