Show: Delphi C++
Display Preferences

System.DateUtils.IsSameDay

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function IsSameDay(const AValue, ABasis: TDateTime): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall IsSameDay(const System::TDateTime AValue, const System::TDateTime ABasis);

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 a the same day as a criterion date.

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.

See Also


Code Examples

Personal tools
In Other Languages
Previous Versions
Assistance