DB2DateTime.StartTimeUnit property

Gets the first time unit that is stored in the DB2DateTime instance.

The DB2DateTime.StartTimeUnit property is available for use only with the Informix database server.

Namespace:
IBM.Data.DB2Types
Assembly:
IBM.Data.DB2 (in IBM.Data.DB2.dll)

Syntax


[Visual Basic]
Public ReadOnly Property StartTimeUnit As DB2TimeUnit
[C#]
public DB2TimeUnit StartTimeUnit {get;}
[C++]
public: __property DB2TimeUnit get_StartTimeUnit();
[JScript]
public function get StartTimeUnit() : DB2TimeUnit;

Property value

A start time unit of the DB2DateTime instance. The DB2DateTime.StartTimeUnit property is the least granular time unit that is specified in the DB2DateTime instance.