We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Please- answer me the question about getActualDuration function


My name is dongsoon park

I have a question about actual duration.

Below plan duration function has getDuration(TimeUnitType.Day) function.
double planDuration = tsk.getDuration(TimeUnitType.Day);

but getActualDuration() function is not have TimeUnitType.Day Type
How i get corrent value for day Type?
below code is not corrent value.
I want to get day type value.
please answer me the question.

long OneSec = 10000000;// microsecond * 10
long OneMin = 60 * OneSec;
long OneHour = 60 * OneMin;
long stdDuration = tsk.getActualDuration() / (OneHour * 24);

Hi Dongsoon,

Your request has already been addressed here. Please follow the same thread for further notifications about the fix version once it is available.