PgDAC

TPgConnectionOptions.EnablePgTimeStamps Property

Used to map DATE, TIME, and TIMESTAMP fields to TPgDateField, TPgTimeField, and TPgTimeStampField accordingly.

Class

TPgConnectionOptions

Syntax

property EnablePgTimeStamps: boolean default False;

Remarks

Use the EnablePgTimeStamp property to map DATE, TIME, and TIMESTAMP fields to TPgDateField, TPgTimeField, and TPgTimeStampField accordingly.

By default this option is set to False, and DATE, TIME, and TIMESTAMP fields are mapped to standard TDateField, TTimeField, and TDateTimeField. Set this option to True to work with values than can be represended by TDateTime variable. These values include dates before 01-01-0100 or after 12-31-9999 and special values INFINITY and -INFINITY that can hold TIMESTAMP field. You can work with such values using special PgDAC field types: TPgDateField, TPgTimeField, and TPgTimeStampField. TPgTimeField and TPgTimeStampField allows also getting timezone value for fields WITH TIMEZONE.

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback