Returns the year in the specified DateTime.
Syntax
Parameters
- time
-
The DateTime to read.
Returns
An integer that represents the year in the specified DateTime.
Remarks
Requirements
Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0