BF2Statistics.Web.Bf2Stats.PlayerModel.FormatAwardDate C# (CSharp) Method

FormatAwardDate() public method

public FormatAwardDate ( int Time ) : string
Time int
return string
        public string FormatAwardDate(int Time)
        {
            int Sec = Int32.Parse(Time.ToString());
            if (Sec > 0)
            {
                DateTime T = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
                return " (<i>" + T.AddSeconds(Sec).ToString("MMMM dd, yyyy", SpecificCulture) + "</i>)";
            }
            else
                return "";
        }