public string FormatTime(double Time)
{
TimeSpan Span = TimeSpan.FromSeconds(Time);
// We don't want the Timespan rounding up the fraction of total hours
// so we will make our own method for calculation...
double hours = (Span.Days * 24) + Span.Hours;
return String.Format(SpecificCulture, "{0:00}:{1:00}:{2:00}", hours, Span.Minutes, Span.Seconds);
}