Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

JScript Date Object getUTCDay Method

Returns the day of the week as stored in a Date object according to Universal Coordinated Time (UTC).

Syntax: JScript Date Object getUTCDay Method

objDate.getUTCDay()

Arguments: JScript Date Object getUTCDay Method

objDate

The name of a Date object. Required.

Remarks: JScript Date Object getUTCDay Method

To get the day of the week according to local time, use the getDay 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

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.