PgDAC

TCustomPgTimeStamp Members

TCustomPgTimeStamp class overview.

Properties

Name Description

AsDateTime

Used to get and set the timestamp value as TDateTime.

AsSQLTimeStamp

Used to get and set the timestamp value as TSQLTimeStamp record.

AsString

Used to get and set the timestamp value as string.

Days

Holds the date part of timestamp.

HasTimeZone

Used to specify whether the timestamp object has time zone.

IsInfinity

Determines if a timestamp object has +/-infinity value.

IsNegInfinity

Determines if a timestamp object has -infinity value.

IsPosInfinity

Determines if a timestamp object has +infinity value.

RefCount (inherited from TSharedObject)

Used to return the count of reference to a TSharedObject object.

Ticks

Holds the time part of timestamp in microseconds.

TimeZoneOffset

Specifies the time zone offset of a timestamp object (in seconds).

Methods

Name Description

AddRef (inherited from TSharedObject)

Increments the reference count for the number of references dependent on the TSharedObject object.

Assign

Assigns a value from another TCustomPgTimeStamp object to this object.

Compare

Compares two TCustomPgTimeStamp objects.

DecodeDate

Provides year, month, and day from the timestamp object.

DecodeDateTime

Provides the value of the timestamp object as year, month, day, hour, minute, second, and microsecond.

DecodeTime

Provides hour, minute, second, and microsecond from the timestamp object.

EncodeDate

Sets year, month, and day in the timestamp object.

EncodeDateTime

Sets the value of the timestamp object as year, month, day, hour, minute, second, and microsecond.

EncodeTime

Sets hour, minute, second, and microsecond in the timestamp object.

Release (inherited from TSharedObject)

Decrements the reference count.
© 1997-2020 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback