The TimeSpan default day considers 24hrs as 1 day. I want to have 8 hrs as 1 day. So that If I give 1 day it should consider it as 8 hrs not 24 hrs. And if I give 23 hrs it should consider it as 2 days and 7 hrs.
`
Task T1 = project.AddTask("T1");
Task T2 = project.AddTask("T2");
T1.Start = new DateTime(2015, 3, 9);
T1.Duration = new TimeSpan(1, 2, 0, 0);
T2.Duration =new TimeSpan(0, 23, 0, 0)
Console.WriteLine(T1.Name + "Duration: " + T1.Duration)://Considers 1 day as 24 hrs;
` Is there any way to do this?