Task setCompletionDeadline

From Catglobe Wiki
Jump to: navigation, search



Task_setCompletionDeadline

Set a task's completion deadline

Syntax

Task_setCompletionDeadline(taskResourceId, deadline)

Arguments

  • taskResourceId: is a number expression. It is the resource id of the task
  • deadline: is an array which must follow the format of date time array generated by getDateTime function. If empty is used, the task's completion deadline will be cleared

Return value

empty

Example

Task_setCompletionDeadline(15891801, getDateTime());

Task_setCompletionDeadline(15891802, empty);

Availability

Version 5.6