Show: Delphi C++
Display Preferences

System.DateUtils.IsSameDay

From XE2 API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Contents

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
Previous Versions
Translations