I have an ASP.NET MVC 4 application. Currently, I am setting the version of the application in the project properties under the \"Application\" tab. From here, I click the \
In case you are publishing your application on a production server, I would recommend using something like
@String.Format(
"{0:ffffdd, MMMM d, yyyy HH:mm:ss}",
File.GetLastWriteTime(ViewContext.Controller.GetType().Assembly.Location))
for retrieving the date.
This will print the actual publish date since File.GetCreationTime() will give you the date the actual assembly dll was first copied on the server.