/ Published in: ASP
Wanna lose the time portion of the date something was created in a smart search result!?!?
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<%-- Replace --%> <%# GetDateTimeString(ValidationHelper.GetDateTime(Eval("Created"), DateTimeHelper.ZERO_TIME), true) %> <%-- With --%> <%# ValidationHelper.GetDateTime(Eval("Created"), DateTimeHelper.ZERO_TIME).ToShortDateString() %>