Kentico - Display Custom Date Format with Date/Time selector

/ Published in: ASP
Save to your folder(s)

You don't modify the CMSDesk in order to display only the date or only the time. You do it through the aspx control.

Copy this code and paste it in your HTML
  1. <%# Eval("date", "{0:MMMM d, yyyy}") %>
  3. <%#Eval("PostOn", "{0:MM/dd/yyyy}") %>

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.