OracleDate(DateTime)
This constructor creates a new instance of the OracleDate structure and sets its value for date and time using the supplied DateTime value.
Declaration
// C#
public OracleDate (DateTime dt);Parameters
-
dtThe provided
DateTimevalue.
Remarks
The OracleDate structure only supports up to a second precision. The time value in the provided DateTime structure that has a precision smaller than second is ignored.