Forum Discussion
End dates of Subtask are appearing wrong
- Feb 04, 2025
Hello again Saleem
If you want the summary task to be independent of the subtasks it groups, you must include the following instructions in the corresponding summary task of the xml schema you want to import:
<ManualStart>2024-12-26T00:00:00</ManualStart>
<ManualFinish>2024-12-29T23:59:00</ManualFinish>
<Manual>1</Manual>The order and place in which they are within the task does not matter, even if there are <Start>... and <Finish>... instructions, because when defining the task as Manual, only manual dates will be considered.
You must write the instructions exactly as shown above, respecting upper and lower case.
You must also write the end date as: 2024-12-29T23:59:00 and not as: 2024-12-29T23:59:59, in which case it will skip to the next day and count one more day when importing the schema file.
Going back to your initial request, it would look like this:
<Name>Testing</Name>
<Type>0</Type>
<IsNull>0</IsNull>
<WBS>3</WBS>
<OutlineNumber>3</OutlineNumber>
<OutlineLevel>1</OutlineLevel>
<Priority>500</Priority>
<ManualStart>2024-12-26T00:00:00</ManualStart>
<ManualFinish>2024-12-29T23:59:00</ManualFinish>
<Manual>1</Manual>If you consider that it has been useful and sufficient, you can close the query by clicking Solved.
Ignacio
Well that did help a lot !
I was making mistake with calendar, set the values and now subtask dates are appearing as they should but this did not sort the end date of Parent task.
There's still an issue, Parent task "Testing" is supposed to be end on "12/29/24 11:59 PM" just like the rest of tasks in project but it is ignoring this set configurations
<Name>Testing</Name>
<Type>0</Type>
<IsNull>0</IsNull>
<WBS>2</WBS>
<OutlineNumber>2</OutlineNumber>
<OutlineLevel>1</OutlineLevel>
<Priority>500</Priority>
<Start>2024-12-26T00:00:00</Start>
<Finish>2024-12-29T23:59:59</Finish>
<Duration>PT71H59M0S</Duration>
heres how I days of week in calendar are configured
<Calendar>
<UID>1</UID>
<Name>Custom</Name>
<IsBaseCalendar>1</IsBaseCalendar>
<BaseCalendarUID>-1</BaseCalendarUID>
<WeekDays>
<WeekDay>
<DayType>1</DayType>
<DayWorking>1</DayWorking>
<WorkingTimes>
<WorkingTime>
<FromTime>00:00:00</FromTime>
<ToTime>23:59:00</ToTime>
</WorkingTime>
</WorkingTimes>
</WeekDay>
and this is my project level calendar configuration
<DefaultStartTime>00:00:00</DefaultStartTime>
<MinutesPerDay>1439</MinutesPerDay>
<MinutesPerWeek>10079</MinutesPerWeek>
Is there something I am missing here ? Thanks in advance for help
Hi Salee
A 24 hour day is 1440 minutes (not 1439)
The calendar configuration in the xml file should show 1 more minute:
<FromTime>00:00:00</FromTime>
<ToTime>00:00:00</ToTime>
<MinutesPerDay>1440</MinutesPerDay>
And a 24 hour per day task if it starts at 0:00 should end at 0:00
So in the xml file it should also show 1 more minute:
<Start>2024-12-26T00:00:00</Start>
<Finish>2024-12-29T00:00:00</Finish>
If this does not fix the problem, please show an image with the Indicators column below the Id column.
I hope you find it useful.
Ignacio
- saleemullah054Jan 09, 2025Copper Contributor
Hi there !
I want my task to end at 23:59 on its end date so thats why minutes per day are set to 1439 and hence
<FromTime>00:00:00</FromTime>
<ToTime>23:59:00</ToTime><MinutesPerDay>1440</MinutesPerDay>and
<Start>2024-12-26T00:00:00</Start>
<Finish>2024-12-29T23:59:00</Finish>This is working for every task except for task which has subtask in it like the one shared above "Testing". I want the same thing for this task too but somehow it is not applying on it and thats what I want help with
- John-projectJan 09, 2025Silver Contributor
saleemullah054,
Just for reference, the Minutes per day setting is a calendar setting NOT a task setting. It is used by Project to define how a "day" is shown in the Duration field and for a 24 hour day, it is 1440 minutes as Ignacio pointed out.
However, with your task start and stop times, the duration will still show as one day due to rounding. I suggest you fix that calendar issue and then see how things play out.
John