[]
Returns the month in the specified DateTime.
public override int GetMonth(DateTime time)
Type | Name | Description |
---|---|---|
DateTime | time | The DateTime to read. |
Type | Description |
---|---|
int | An integer from 1 to 12 that represents the month in the specified DateTime. |