Return to Snippet

Revision: 47488
at June 9, 2011 02:42 by inreflection7


Updated Code
<%# Eval("date", "{0:MMMM d, yyyy}") %>

<%#Eval("PostOn", "{0:MM/dd/yyyy}") %>

Revision: 47487
at June 9, 2011 02:39 by inreflection7


Initial Code
<%# Eval("date", "{0:MMMM d, yyyy}") %>

Initial URL

                                

Initial Description
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

Initial Title
Kentico - Display Custom Date Format with Date/Time selector

Initial Tags
date

Initial Language
ASP