Clear Up
SharpKit Reference

JsDate.setYear Method (JsNumber)

Sets the year value in the Date object.

Namespace: SharpKit.JavaScript

Class: JsDate


public void setYear(JsNumber numYear)


Type: SharpKit.JavaScript.JsNumber
This method is obsolete, and is maintained for backwards compatibility only. Use the setFullYear method instead. For the years 1900 through 1999, this is a numeric value equal to the year minus 1900. For dates outside that range, this is a 4-digit numeric value.
© Copyright 2005-2011 SharpKit. All rights reserved.