Skip to main content
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

FMX.TMSFNCGanttClasses.hppPascalC++
function GetActualStartDateTime(ADateTime: TDateTime; AWorkTimePolicy: TTMSFNCGanttTaskWorkTimePolicy = whWorkTimeAndDays): TDateTime;
System::TDateTime __fastcall GetActualStartDateTime(System::TDateTime ADateTime, TTMSFNCGanttTaskWorkTimePolicy AWorkTimePolicy = (TTMSFNCGanttTaskWorkTimePolicy)(0x0));

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.