Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1501: No overload for method 'ToLocal' takes 1 arguments

Source Error:


Line 422:            HtmlGenericControl warning = new HtmlGenericControl("h3");
Line 423:            warning.Attributes["class"] = "color_e";
Line 424:            warning.InnerText = "Auction closed on " + Time.ToLocal(auction.EndDate).ToShortDateString() + ".";
Line 425:            if (Param.DisplayBidWithBuyersPremium && (BuyersPremium.GetAll().Table.Rows.Count > 0))
Line 426:            {

Source File: \\fs01\webcontent\wwwroot\milehighcardco.com\wwwroot\mobile\Catalog.aspx.cs    Line: 424







Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3770.0