Search
Task.actualStart Property
See Also
 






Gets or sets the actual start date of the Task.

Namespace: MindFusion.Scheduling
File: Task.js

 Syntax

JavaScript  Copy Code

get actualStart() {}

 Property Value

A DateTime instance.

 Example

JavaScript  Copy Code

var p = MindFusion.Scheduling;
var task;

// create a task
task = new p.Task();
task.subject = "Math Test";
task.dueDate = p.DateTime.today().addDays(10);
task.tag = "Uni exams";
//the exam would probably take a total of up to 5 hours
task.estimatedDuration = 300;
task.priority = p.TaskPriority.High;
//add it to the schedule.tasks collection
calendar.schedule.tasks.add(resource);

 See Also