System.DateUtils.IsPM

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function IsPM(const AValue: TDateTime): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall IsPM(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 the time portion of a specified TDateTime value occurs in the afternoon.

IsPM returns True if the time portion of AValue occurs on or after 12:00 noon and before 00:00 midnight.

See Also


Code Examples