RAD Studio VCL Reference
SysUtils.TTimeStamp Record

TTimeStamp represents time and date values.

TTimeStamp = record
  Time: Integer;
  Date: Integer;
struct TTimeStamp {
  int Time;
  int Date;

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). 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!