I am working with different calendar other than the standard. Which is basically 16hr calendar
5 day working monday to friday and working times are
Shift1 - 6 am to 2pm,
Shift 2- 3pm to 11pm
When I am mapping my concerto task(4 days) which has start date as 29 august,2022 and end date 01 sept,2022 to ms project record.
I am creating duration object as
tsk is concerto task object
Task atsk = project.RootTask.Children.Add(tsk.Name);
atsk.Set(Tsk.Start, tsk.Start); atsk.Set(Tsk.Finish, tsk.Finish); Duration remdur = project.GetDuration(days, TimeUnitType.Day);
Problem I am facing is that duration object always contains total minues /total seconds based on default calendar(standard 8hr calendar) .
I have already set project with 16hr working hour calendar
Please suggest how to resolve this