BF2Statistics.Web.Bf2Stats.BF2PageModel.FormatDate C# (CSharp) Method

FormatDate() public method

Takes a timestamp and converts it to a data format that was used in BF2sClone
public FormatDate ( int Time ) : string
Time int
return string
        public string FormatDate(int Time)
        {
            DateTime T = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
            return (T.AddSeconds(Time)).ToString("yyyy-MM-dd HH:mm:ss", SpecificCulture);
        }