next up previous contents
Next: setUTCHours Up: Methods Previous: setUTCDate   Contents


setUTCFullYear

Description

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


Syntax

date1.setUTCFullYear(year[, month [, date]])


Parameters

year
A numeric value equal to the year.
month
Optional. 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.