Indicates whether a specified TDateTime value occurs on a the same day as a criterion date.
function IsSameDay(const AValue: TDateTime; const ABasis: TDateTime): Boolean;
Boolean IsSameDay(const TDateTime AValue, const TDateTime ABasis);
DateUtils
IsSameDay returns true if AValue occurs on the same day as ABasis. The time portions of AValue and ABasis can differ.
IsSameDay returns false if the date portions of AValue and ABasis differ.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|