DB2DateTime properties

List of the DB2DateTime properties.

The DB2DateTime properties are available for use only with the Informix® database server.

Public properties

Property Description
public property Date Gets the date value that is stored in the DB2DateTime structure.
public property Day Gets the day value that is stored in the DB2DateTime structure.
public property EndTimeUnit Gets the end time unit that is stored in the DB2DateTime instance.
public property Hour Gets the hour value that is stored in the DB2DateTime structure.
public property IsNull Gets a value that indicates whether the value that is stored in the DB2DateTime structure is null.
public property Millisecond Gets the millisecond value that is stored in the DB2DateTime structure.
public property Minute Gets the minute value that is stored in the DB2DateTime instance.
public property Month Gets the month value that is stored in the DB2DateTime instance.
public property Now Gets current date and time value.
public property Precision Gets a precision value of the DB2DateTime structure value.
public property Second Gets the second value that is stored in the DB2DateTime instance.
public property StartTimeUnit Gets the first time unit that is stored in the DB2DateTime instance.
public property Ticks Returns the number of ticks since midnight on 1 January 0001 to the time that is specified in the DB2DateTime instance.
public property Today Gets the current date value.
public property Value Gets the value that is stored in the DB2DateTime structure.
public property Year Gets the year value that is stored in the DB2DateTime instance.