Problems with SumTime in GroupFooter
Posted: Wed Nov 18, 2020 5:16 pm
				
				Hi,
i got a problem creating a Sum of String Values in a GroupFooter, wich i convertet into a DateTime Object. I tried this code:
The result is always 00:00 (as well without the condition). My Datasource is a Table with string Values in the Format "hh:mm:ss". In the end i like just "hh:mm".
Thanks!!!
			i got a problem creating a Sum of String Values in a GroupFooter, wich i convertet into a DateTime Object. I tried this code:
Code: Select all
{ 
myTable.column1 == "stringValue" ? 
(SumTime(DateTime.Parse(myTable.column2)).Hours  + 
SumTime(DateTime.Parse(myTable.column2)).Days * 24).ToString("00")+ ":" +  
SumTime(DateTime.Parse(myTable.column2)).Minutes.ToString("00") : "nope"
}	Thanks!!!