I have a task which value of actual start is ‘NA’, but when I invoke task.get(Tsk.ACTUAL_START), why the result is ‘Sat Jan 01 00:00:00 CST 2000’?
Hi Zhencheng,
Thank you for writing to Aspose Support team.
Aspose.Tasks replaces such field with DateTime.MinValue (in case license has been set in application) or to Sat Jan 01 00:00:00 CST 2000 otherwise. If we load such a file using the API and re-save it, MSP displays NA in the saved file as well which means the value is interpreted correctly by the API. Thus, it doesn’t seem to be an issue with the API functionality.
If I have not set the value of ACTUAL_START, after save it to mpp file, then it will be ‘Sat 1/1/00’, how to do?
Task Mode | Task Name | Duration | Start | Finish | Predecessors | Resource Names | Actual Start |
Manually Scheduled | task a2 | 5 days | Tue 5/16/00 | Mon 5/22/00 | 2,4 | Sat 1/1/00 |