OracleDateTime Constructor (Int32, Int32, Int32, Int32, Int32, Int32)
Initializes a new instance of the OracleDateTime structure using the supplied parameters to initialize the year, month, day, hour, minute, and second of the new structure.
Assembly: System.Data.OracleClient (in System.Data.OracleClient.dll)
'Declaration Public Sub New ( _ year As Integer, _ month As Integer, _ day As Integer, _ hour As Integer, _ minute As Integer, _ second As Integer _ ) 'Usage Dim year As Integer Dim month As Integer Dim day As Integer Dim hour As Integer Dim minute As Integer Dim second As Integer Dim instance As New OracleDateTime(year, month, _ day, hour, minute, second)
Parameters
- year
- Type: System.Int32
An integer value representing the year of the new OracleDateTime structure.
- month
- Type: System.Int32
An integer value representing the month of the new OracleDateTime structure.
- day
- Type: System.Int32
An integer value representing the day of the month of the new OracleDateTime structure.
- hour
- Type: System.Int32
An integer value representing the hour of the new OracleDateTime structure.
- minute
- Type: System.Int32
An integer value representing the minute of the new OracleDateTime structure.
- second
- Type: System.Int32
An integer value representing the second of the new OracleDateTime structure.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.