Task setAcceptanceDeadline

From Catglobe Wiki
Revision as of 10:41, 12 December 2011 by Cg pham (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Task_setAcceptanceDeadline

Set a task's acceptance deadline

Syntax

Task_setAcceptanceDeadline(taskResourceId, acceptanceDeadline)

Arguments

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

Return value

empty

Example

Task_setAcceptanceDeadline(15891801, getDateTime());

Task_setAcceptanceDeadline(15891802, empty);

Availability

Version 5.6