OracleDateTime.Year Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the value of the OracleDateTime structure as a year.

Namespace:   System.Data.OracleClient
Assembly:  System.Data.OracleClient (in System.Data.OracleClient.dll)

public int Year { get; }

Property Value

Type: System.Int32

A year between 1 and 4712.

.NET Framework
Available since 1.1
Return to top