Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

OracleDateTime Constructor (Int32, Int32, Int32, Calendar)

Initializes a new instance of the OracleDateTime structure using the supplied parameters to initialize the year, month, day, and calendar of the new structure.

Namespace: System.Data.OracleClient
Assembly: System.Data.OracleClient (in system.data.oracleclient.dll)

Public Sub New ( _
	year As Integer, _
	month As Integer, _
	day As Integer, _
	calendar As Calendar _
Dim year As Integer
Dim month As Integer
Dim day As Integer
Dim calendar As Calendar

Dim instance As New OracleDateTime(year, month, day, calendar)
public OracleDateTime (
	int year, 
	int month, 
	int day, 
	Calendar calendar
public function OracleDateTime (
	year : int, 
	month : int, 
	day : int, 
	calendar : Calendar



An integer value representing the year of the new OracleDateTime structure.


An integer value representing the month of the new OracleDateTime structure.


An integer value representing the day of the month of the new OracleDateTime structure.


The Calendar for this instance of OracleDateTime.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1

Community Additions

© 2015 Microsoft