SyntaxFix
Write A Post
Hire A Developer
Questions
I am not sure in Razor but in ASPX you do:
<%if (item.Modify_Date != null) {%> <%=Html.Encode(String.Format("{0:D}", item.Modify_Date))%> <%} %>
There must be something similar in Razor. Hopefully this will help someone.