Converting the BIGINT type to a time interval when creating a report
To represent a number as a time interval on a Fast Report layout, add the following function on the Report Layout - Code tab:
public string TicksToString(long ticks)
{
return new TimeSpan(ticks).ToString();
}
![](../image/Документ_1(82).png)
And apply it to the data. To do so, in the text editor specify:
[TicksToString([DataSource.FieldName])]
![](../image/Документ_1(83).png)