Indicates the relationship between the date portions of two TDateTime values.
function CompareDate(const A: TDateTime; const B: TDateTime): TValueRelationship;
TValueRelationship CompareDate(const TDateTime A, const TDateTime B);
DateUtils
Call CompareDate to compare the two TDateTime values specified by A and B. CompareDate returns
LessThanValue if A occurs on a day prior to the day specified by B.
EqualsValue if A occurs on the same day as B, ignoring the time of day.
GreaterThanValue if A occurs on a day that follows the day specified by B.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|