Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Task getAcceptanceDeadline: Difference between revisions

From Catglobe Wiki
Nguyentanphong (talk | contribs)
No edit summary
Nguyentanphong (talk | contribs)
No edit summary
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''EmployeeAssignment_addToResource'''
= Task_getAcceptanceDeadline =


&nbsp;&nbsp;&nbsp;Add users to Resouces. Information&nbsp;will show up in "my cati" for that users.&nbsp;<br>  
Get the accepted deadline (should be accepted before) of a specific task. <br>  


'''Syntax&nbsp;<br>'''&nbsp; EmployeeAssignment_addToResource(userResourceID, timeStart, resourceID); <br><br>'''Arguments<br>'''&nbsp; userResourceID: is an array.
=== Syntax ===


&nbsp; timeStart:&nbsp;is an array.
Task_getAcceptanceDeadline(TaskResourceID)
<br>


&nbsp;&nbsp;reSourceID: is a number.  
=== Arguments ===
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>


&nbsp;<br>'''Return type'''<br>&nbsp;&nbsp; Empty.
=== 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 userResourceID={ 37267087, 37267186, 37268086};<br>array timeStart={2011,10,10,6,37,50,975,40,40};<br>number resourceID=37246024;
__NOTOC__


EmployeeAssignment_addToResource(userResourceID, timeStart, resourceID);<br>
[[Category:Tasks]]
 
[[Category:User_Functions]]

Latest revision as of 04:04, 10 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}