Gets the year component of the date represented by the current DateTimeOffset object.
Documentation for this section has not yet been entered.
The DateTimeOffset.Year property is not affected by the value of the DateTimeOffset.Offset property.
You can also create a string representation of a DateTimeOffset object's year component by calling the erload:System.DateTimeOffset.ToString method with the "y", "yy", or "yyyy" custom format specifiers.