See Also Applies To
Description
Returns the day of the week as stored in a Date object according to Universal Coordinated Time (UTC).
Syntax
objDate.getUTCDay()
Remarks
To get the day of the week according to local time, use the getDate method.
The value returned by the getUTCDay method is an integer between 0 and 6 representing the day of the week and corresponds to a day of the week as follows:
0 = Sunday
1 = Monday
2 = Tuesday
3 = Wednesday
4 = Thursday
5 = Friday
6 = Saturday
© 1997 by Microsoft Corporation. All rights reserved.
file: /Techref/inet/iis/jscript/htm/js79.htm,
2KB, , updated: 1997年9月30日 04:45, local time: 2025年9月16日 08:49,
©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/js79.htm"> getUTCDay Method</A>
Did you find what you needed?
Welcome to massmind.org!
Welcome to massmind.org!
.