Team LiB   Previous Section   Next Section
Date.getUTCMonth( ) return the month of the year (universal time)

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.

    Team LiB   Previous Section   Next Section