Clear project date field via PSI

70 Views Asked by At

How can i clear date format field in project using PSI? i do

taskRow.TASK_FINISH_DATE = newTask.FinishDate;

Where taskRow is ProjectDataSet.TaskRow class and newTask.FinishDate is DateTime But there are GeneralDateNotValid exception - TASK_FINISH_DATE cant be less than 01.01.1984.

1

There are 1 best solutions below

0
On BEST ANSWER

There is method

taskRow.SetTASK_FINISHDATENull();

it works.