hi,
I want to show Date only instead of Date & Time. I Use NewsReleaseDate Transformations and change data type "Date", but still both showing. what can i do?
Personally I often use {% GetDateTime(DateFieldName, "MM/dd/yyyy")%} often.
{% GetDateTime(DateFieldName, "MM/dd/yyyy")%}
What type of transformation are you using?
If you're using ASPX there are a couple of methods to achieve this:
<%# GetDate("NewsReleaseDate") %>
<%# FormatDate(DateTime.Now) %>
You can find all the methods here.
Hey Thank you very much. its work for Aspx.
what is the method for Text/XML. i cant found.
Please see macro methods.
Thanks Chris & Roman. I have got idea from your suggestions and i write this macro code "{% GetDate(NewsReleaseDate)%}" for showing date only. and its work.
Thanks Nitin
Please, sign in to be able to submit a new answer.