Share via


Month Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the month component of the date represented by this instance.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public ReadOnly Property Month As Integer
public int Month { get; }
public:
property int Month {
    int get ();
}
member Month : int with get
function get Month () : int

Property Value

Type: System. . :: . .Int32
The month component, expressed as a value between 1 and 12.

.NET Framework Security

See Also

Reference

DateTime Structure

System Namespace