[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'DB' (#fcl)

# TTimeField

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Field class for time values

## Declaration

Source position: db.pas line 765

`type TTimeField = class(TDateTimeField)`
`public`
`constructor Create(); override;` |  | Create a new instance of a TTimeField class.
`end;`

## Inheritance

`TTimeField` |  | Field class for time values
`TDateTimeField` |  | Field class for date/time/Datetime values
`TField` |  | Provide access to the contents of a single field in a record
`TComponent,IUnknown,IInterfaceComponentReference`
`TPersistent,IFPObserved`
`TObject`

## Description

TimeField is the class used when a dataset must manage data of type time. (TField.DataType equals ftTime). It initializes some of the properties of the TField class to be able to work with time fields.

It should never be necessary to create an instance of TTimeField manually, a field of this class will be instantiated automatically for each time field when a dataset is opened.

## See also

TDataset |  | Base class for records-based data-access
TField |  | Provide access to the contents of a single field in a record
TDateTimeField |  | Field class for date/time/Datetime values
TDateField |  | Field class for date values

Documentation generated on: May 14 2021