BF2Statistics.Web.Bf2Stats.Controller.FormatTime C# (CSharp) Method

FormatTime() public method

Formats an integer timestamp to a timespan format that was used in BF2sClone
public FormatTime ( int Time ) : string
Time int
return string
        public string FormatTime(int Time)
        {
            TimeSpan Span = TimeSpan.FromSeconds(Time);
            return String.Format("{0:00}:{1:00}:{2:00}", Span.TotalHours, Span.Minutes, Span.Seconds);
        }