Posted By

inreflection7 on 06/09/11


Tagged

time date kentico


Versions (?)

Kentico - Display Custom Date Format with Date/Time selector


 / Published in: ASP
 

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

http://authors.aspalliance.com/aspxtreme/sys/globalization/demos/DateTimeFormatInfoGetAllDateTimePatterns.aspx

  1. <%# Eval("date", "{0:MMMM d, yyyy}") %>
  2.  
  3. <%#Eval("PostOn", "{0:MM/dd/yyyy}") %>

Report this snippet  

You need to login to post a comment.