get_duedate

Get due date value for an activity.

Due dates impose 'start/finish no later than' constraints on activity actID, as follows:
  • Due Start: Activity actID cannot start later than the return value
  • Due Finish: Activity actID cannot finish later than the return value
Parameters: 
I/O Type Name Description
Input integer actID ID of the activity
Input integer start/finish 0 (Due Start) or 1 (Due Finish)
Ouput integer time due date value or 99999999 if no due date is imposed

 

Learn More: 

Step inside PMKC.

Example: 
function ()
        io.write('\n')
end
Class: 
P2Schedule