Date.setUTCDate()

Availability

Flash Player 5.

Usage

my_date.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 Date.getUTCDay() and Date.getDay() may report a new value if the day of the week changes as a result of calling this method.