Indicates whether two TDateTime values represent the same year, month, and day.
function SameDate(const A: TDateTime; const B: TDateTime): Boolean;
Boolean SameDate(const TDateTime A, const TDateTime B);
DateUtils
Call SameDate to determine whether the two TDateTime values specified by A and B represent the same date, ignoring the time portion. SameDate returns true if the two specified values occur on the same day, false otherwise.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|