D-E > Date.setUTCDate

 

Date.setUTCDate

Availability

Flash Player 5.

Usage

myDate.setUTCDate(date)

Parameters

date An integer from 1 to 31.

Returns

An integer.

Description

Method; sets the date for the specified Date object in universal time, and returns the new time in milliseconds. Calling this method does not modify the other fields of the specified Date object, but the getUTCDay and getDay methods may report a new value if the day of the week changes as a result of calling this method.