[This is preliminary documentation and is subject to change.]

Gets the number of days in the month

Namespace:  OfficeClip.Utils
Assembly:  OfficeClip.Utils (in OfficeClip.Utils)
Version: 8.1.1.0

Syntax

C#
public static int GetNumberOfDaysInMonth(
	DateTime dt
)
Visual Basic (Declaration)
Public Shared Function GetNumberOfDaysInMonth ( _
	dt As DateTime _
) As Integer
Visual C++
public:
static int GetNumberOfDaysInMonth(
	DateTime dt
)

Parameters

dt
Type: System..::.DateTime
The date in question

Return Value

The number of days in the month

See Also