Полезная информация

Microsoft® JScript™
getDay Method
 Language Reference 
Version 1 

See Also                  Applies To


Description

Retrieves the day of the week represented by the date stored in a Date object according to local time.
Syntax
objDate.getDay()
Remarks
To get the day according to Universal Coordinated Time (UTC), use the getUTCDay method.

The integer returned from the getDay 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 Microsoft Corporation. All rights reserved. Terms of Use.