NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Calendar.GetDaysInMonth

Returns the number of days in the specified month.

Overload List

Returns the number of days in the month specified by the specified year, month and era.

[Visual Basic] Overloads MustOverride Public Function GetDaysInMonth(Integer, Integer, Integer) As Integer
[C#] public abstract int GetDaysInMonth(int, int, int);
[C++] public: virtual int GetDaysInMonth(int, int, int) = 0;
[JScript] public abstract function GetDaysInMonth(int, int, int) : int;

Returns the number of days in the month specified by the year and month parameters.

[Visual Basic] Overloads Overridable Public Function GetDaysInMonth(Integer, Integer) As Integer
[C#] public virtual int GetDaysInMonth(int, int);
[C++] public: virtual int GetDaysInMonth(int, int);
[JScript] public function GetDaysInMonth(int, int) : int;

See Also

Calendar Class | Calendar Members | System.Globalization Namespace