NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DateTime.Year

Retrieves the year part of this instance.

[Visual Basic]
Public ReadOnly Property Year As Integer
[C#]
public int Year {get;}
[C++]
public: __property int get_Year();
[JScript]
public function get Year() : int;

Property Value

Read-only.

Remarks

The Year property returns value that is an 32-bit signed integer (int) between 1 and 9999 that represents the portion of the year of this instance of DateTime.

See Also

DateTime Structure | DateTime Members | System Namespace | Int32 | Calendar