getUTCMonth()
Top  Previous  Next


SWiSH Player Support
SWF5 or later - Supported Internally

Syntax
DateObj.getUTCMonth()

Arguments
none

Returns
an integer

Description
Method; returns an integer (0 - 12) representing the current month for the Date Object according to Universal Time.

Sample

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