System.Globalization.PersianCalendar.GetMonth Method

Returns the month in the specified DateTime object.

Syntax

public override int GetMonth (DateTime time)

Parameters

time
The DateTime to read.

Returns

An integer from 1 through 12 that represents the month in the specified DateTime object.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0