Difference between revisions of "Task getAcceptanceDeadline"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
 
'''Task_getAcceptanceDeadline '''  
 
'''Task_getAcceptanceDeadline '''  
  
&nbsp;&nbsp;&nbsp;Get&nbsp;time&nbsp;of task which is&nbsp;accepted before the time this task carried out. <br>  
+
&nbsp;&nbsp;&nbsp;Get the accepted deadline (should be accepted before) of a specific task. <br>  
  
'''Syntax&nbsp;<br>'''&nbsp; Task_getAcceptanceDeadline (TaskResourceID); <br><br>'''Arguments<br>'''&nbsp; TaskResourceID: is a number.&nbsp;<br>&nbsp;<br>'''Return type'''<br>&nbsp;&nbsp; An array.  
+
'''Syntax&nbsp;<br>'''&nbsp; Task_getAcceptanceDeadline(TaskResourceID)<br><br>'''Arguments<br>'''&nbsp; TaskResourceID: is a number.&nbsp;It is the resource id of task.<br>&nbsp;<br>'''Return type'''<br>&nbsp;&nbsp; An UTC date time array.  
  
 
<br>'''Examples'''  
 
<br>'''Examples'''  
  
Array taskAcceptanceDeadline&nbsp; = Task_getAcceptanceDeadline(37245949); <br>print(taskAcceptanceDeadline );&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // {2011,9,2,9,48,0,0,35}<br>  
+
Array taskAcceptanceDeadline&nbsp; = Task_getAcceptanceDeadline(37245949); <br>print(taskAcceptanceDeadline);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // {2011,9,2,9,48,0,0,35}<br>  
  
 
[[Category:Tasks]]
 
[[Category:Tasks]]

Revision as of 11:59, 8 November 2011

Task_getAcceptanceDeadline

   Get the accepted deadline (should be accepted before) of a specific task.

Syntax 
  Task_getAcceptanceDeadline(TaskResourceID)

Arguments
  TaskResourceID: is a number. It is the resource id of task.
 
Return type
   An UTC date time array.


Examples

Array taskAcceptanceDeadline  = Task_getAcceptanceDeadline(37245949);
print(taskAcceptanceDeadline);                          // {2011,9,2,9,48,0,0,35}