Javascript [Electronic resources] : The Definitive Guide (4th Edition)

David Flanagan

نسخه متنی -صفحه : 844/ 228
نمايش فراداده

Availability

JavaScript 1.2; JScript 3.0; ECMAScript v1

Synopsis

date.getUTCMonth( )

Returns

The month of the year that results when date is expressed in universal time. The return value is an integer between 0 ( January) and 11 (December). Note that the Date object represents the first day of the month as 1 but represents the first month of the year as 0.