[]
Returns the year in the specified DateTime.
public override int GetYear(DateTime dateTime)
Type | Name | Description |
---|---|---|
DateTime | dateTime | The DateTime to read. |
Type | Description |
---|---|
int | An integer that represents the year in the specified DateTime. |