TTimeStamp represents time and date values.
TTimeStamp = record Time: Integer; Date: Integer; end;
struct TTimeStamp { int Time; int Date; };
SysUtils
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).
DateTimeToTimeStamp
TDateTime
TimeStampToDateTime
TSQLTimeStamp
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|