System.DateUtils.IsToday

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function IsToday(const AValue: TDateTime): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall IsToday(const System::TDateTime AValue);

Properties

Type Visibility Source Unit Parent
function public
System.DateUtils.pas
System.DateUtils.hpp
System.DateUtils System.DateUtils

Description

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

IsToday returns True if AValue occurs on the current day.

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

See Also


Code Examples