next up previous contents
Next: setUTCSeconds Up: Methods Previous: setUTCMinutes   Contents


setUTCMonth

Description

Sets the month for the specified Date object in universal time, and returns the new time in milliseconds.


Syntax

date1.setUTCMonth(month[, date])


Parameters

month
An integer from 0 (January) to 11 (December).
date
Optional. An integer from 1 to 31.


Returns

An integer




Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.