DayPilot Forums

DayPilot is the best open-source Outlook-like calendar control for ASP.NET.
DayPilot Pro Demo (Calendar control)
» DayPilot Pro live demo (Calendar control)
DayPilot Pro Demo (Scheduler control)
» DayPilot Pro live demo (Scheduler control)
Home » How To » 24-hour date format in event display

24-hour date format in event display

Hi Dan,

Please let me know if it is possible to display the time displayed in the event in 24-hour format.

Eg. XYZ (17:00 - 18:00)

Please point me to any documentation you have for this.

Thanks

Raghav

Anonymous - 4/29/2008 9:49:11 PM
The time format in the event is determined by the current culture. If you change the pages Culture to de-DE (German) for example, it will render in 24-hour format.

The other option is to handle BeforeEventRender event and change e.InnerHTML according to your needs (see http://www.daypilot.org/custom-event-rendering.html for details)..
Dan Letecky - 5/1/2008 4:29:25 PM
Post reply