Skip to main content
Table of Contents

TTMSFNCGanttWorkTime.IsWorkTime Method

Returns whether a date/time falls inside configured working hours.

API unit family: TMSFNCGanttClasses Declaring type: TTMSFNCGanttWorkTime

Syntax

FMX.TMSFNCGanttClasses.hppPascalC++
function IsWorkTime(ADateTime: TDateTime): Boolean;
bool __fastcall IsWorkTime(System::TDateTime ADateTime);

Parameters

Name Description
ADateTime Date/time to test.

Returns

True when the date/time is inside working hours; otherwise False.