System.SysUtils.TTimeStamp
Delphi
TTimeStamp = record
C++
struct DECLSPEC_DRECORD TTimeStamp
{
public:
int Time;
int Date;
};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
record struct |
public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
Description
TTimeStamp represents time and date values.
Use TTimeStamp to represent date and time values when a great deal of accuracy is required for the time portion. When the time values do not need to be precise to the millisecond, use the more compact TDateTime representation. If additional precision is needed, use TSQLTimeStamp (but do not assign it to a Variant).
The Time field indicates the number of milliseconds that have elapsed since midnight.
The Date field indicates the number of calendar days since the start of the calendar (the number of days since 1/1/0001 plus one).