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