Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Trim dateTime on Smart Search View modes: 
User avatar
BRogers - 2/3/2014 1:20:00 PM
Trim dateTime on Smart Search
Hello, I am trying to the find the best way to completely remove the time portion from the date when using the smart search. I want to display "12:00" instead of "12:00 12:00:00".

If I was using the normal transformation I could use another method but when using the smart search there are only 4 methods.

I can use jquery to parse the time but I figured someone might know a more efficient way of doing this that will help me on future projects.

<%# GetSearchValue("BlogPostDate") %> 

Thank you.

User avatar
kentico_davidb2 - 2/4/2014 2:15:19 AM
RE:Trim dateTime on Smart Search
You are not limited in the use of methods in the Search transformation, you can even do something like: