See Also Applies To
Description
Retrieves the month value stored in a Date object according to Universal Coordinated Time (UTC).
Syntax
objDate.getUTCMonth()
Remarks
To get the month in local time, use the getMonth method.
The getUTCMonth method returns an integer between 0 and 11 indicating the month stored in the
Date object. The integer returned is not the traditional number used to indicate the month. It
is one less. If "Jan 5, 1996 08:47:00.0" is stored in a Date object, getUTCMonth returns 0.
© 1997 by Microsoft Corporation. All rights reserved.
file: /Techref/inet/iis/jscript/htm/js94.htm,
2KB, , updated: 1997年9月30日 04:45, local time: 2025年9月17日 03:28,
©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Questions?<A HREF="http://massmind.org/techref/inet/iis/jscript/htm/js94.htm"> getUTCMonth Method</A>
Did you find what you needed?
Welcome to massmind.org!
Welcome to massmind.org!
.