Table of Contents

TTMSFNCGanttWorkTime.IsWorkTime Method

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

API unit family: TMSFNCGanttClasses Declaring type: TTMSFNCGanttWorkTime

Syntax

function IsWorkTime(ADateTime: TDateTime): Boolean;

Parameters

Name Description
ADateTime Date/time to test.

Returns

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