Clear Up
SharpKit Reference

JsDate.getMonth Method

Returns the month value in the Date object using local time.

Namespace: SharpKit.JavaScript

Class: JsDate


public JsNumber getMonth()

Return Value

Type: SharpKit.JavaScript.JsNumber
integer between 0 and 11 indicating the month value in the Date object. The integer returned is not the traditional number used to indicate the month. It is one less. If "Jan 5, 1996 08:47:00" is stored in a Date object, getMonth returns 0.
© Copyright 2005-2011 SharpKit. All rights reserved.