Table of Contents

TTMSFNCGanttWorkTime.GetActualStartDateTime Method

Returns the adjusted start date/time for the specified work-time policy.

API unit family: TMSFNCGanttClasses Declaring type: TTMSFNCGanttWorkTime

Syntax

function GetActualStartDateTime(ADateTime: TDateTime; AWorkTimePolicy: TTMSFNCGanttTaskWorkTimePolicy = whWorkTimeAndDays): TDateTime;

Parameters

Name Description
ADateTime Requested start date/time.
AWorkTimePolicy Policy that controls how working time and working days are applied.

Returns

The nearest usable start date/time.