getUTCDay()

Syntax:

var currentDay=dateObject.getUTCDay()

Return:

The day of the week adjusted to UTC (universal time). A Return Value of 0 = Sunday; 1 = Monday; 2 = Tuesday; 3 = Wednesday; 4 = Thursday; 5 = Friday; and 6 = Saturday.

Remarks:

This function will return the day of the week for the specified Date object adjusted to UTC (universal time).

image\Script_Button.jpgExamples