RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DateUtils.IsToday Function

Indicates whether a specified TDateTime value occurs on the current date.

Pascal
function IsToday(const AValue: TDateTime): Boolean;
C++
Boolean IsToday(const TDateTime AValue);

IsToday returns true if AValue occurs on the current day.  

IsToday returns false if AValue represents a time on any other day. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!