getUTCDay()
Top  Previous  Next


Syntax
DateObj.getUTCDay()

Arguments
none

Returns
an integer

Description
Method; returns an integer (0 - 6; 0 being Sunday, 1 being Monday, etc.) representing the current day of the week for the Date Object according to Universal Time.

Sample

onFrame (1) {
theDate = new Date();
trace(theDate.getUTCDay());
}