Return to Snippet

Revision: 48428
at July 1, 2011 04:54 by inreflection7


Updated Code
<%-- Replace --%>

<%# GetDateTimeString(ValidationHelper.GetDateTime(Eval("Created"), DateTimeHelper.ZERO_TIME), true) %>

<%-- With --%>

<%# ValidationHelper.GetDateTime(Eval("Created"), DateTimeHelper.ZERO_TIME).ToShortDateString() %>

Revision: 48427
at July 1, 2011 04:54 by inreflection7


Updated Code
<%-- Replace --%>

<%# ValidationHelper.GetDateTime(Eval("Created"), DateTimeHelper.ZERO_TIME).ToShortDateString() %>

<%-- With --%>

<%# ValidationHelper.GetDateTime(Eval("Created"), DateTimeHelper.ZERO_TIME).ToShortDateString() %>

Revision: 48426
at July 1, 2011 04:54 by inreflection7


Updated Code
# Replace

<%# ValidationHelper.GetDateTime(Eval("Created"), DateTimeHelper.ZERO_TIME).ToShortDateString() %>

# With

<%# ValidationHelper.GetDateTime(Eval("Created"), DateTimeHelper.ZERO_TIME).ToShortDateString() %>

Revision: 48425
at July 1, 2011 04:53 by inreflection7


Initial Code
// Replace

<%# ValidationHelper.GetDateTime(Eval("Created"), DateTimeHelper.ZERO_TIME).ToShortDateString() %>

// With

<%# ValidationHelper.GetDateTime(Eval("Created"), DateTimeHelper.ZERO_TIME).ToShortDateString() %>

Initial URL


Initial Description
Wanna lose the time portion of the date something was created in a smart search result!?!?

Initial Title
Kentico - Smart Search Date w/o Time

Initial Tags
date, search

Initial Language
ASP