Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
OracleDateTime Constructor (Int32, Int32, Int32, Int32, Int32, Int32)

OracleDateTime Constructor (Int32, Int32, Int32, Int32, Int32, Int32)

.NET Framework 1.1
Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

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.

[Visual Basic]
Public Sub New( _
   ByVal year As Integer, _
   ByVal month As Integer, _
   ByVal day As Integer, _
   ByVal hour As Integer, _
   ByVal minute As Integer, _
   ByVal second As Integer _
)
[C#]
public OracleDateTime(
   int year,
 int month,
 int day,
 int hour,
 int minute,
 int second
);
[C++]
public: OracleDateTime(
   int year,
 int month,
 int day,
 int hour,
 int minute,
 int second
);
[JScript]
public function OracleDateTime(
   year : int,
 month : int,
 day : int,
 hour : int,
 minute : int,
 second : int
);

Parameters

year
An integer value representing the year of the new OracleDateTime structure.
month
An integer value representing the month of the new OracleDateTime structure.
day
An integer value representing the day of the month of the new OracleDateTime structure.
hour
An integer value representing the hour of the new OracleDateTime structure.
minute
An integer value representing the minute of the new OracleDateTime structure.
second
An integer value representing the second of the new OracleDateTime structure.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

OracleDateTime Structure | OracleDateTime Members | System.Data.OracleClient Namespace | OracleDateTime Constructor Overload List

Show:
© 2015 Microsoft