_docs-v3/event-display/timeFormat.md
Determines the time-text that will be displayed on each event.
<div class='spec' markdown='1'> [format string](date-formatting-string), *default*:'h:mm' // like '5:00', for agendaWeek and agendaDay
'h(:mm)t' // like '7p', for all other views
As noted above, each view has a specific default. Get fine-tuned control with View-Specific Options. A single string alone will set the value for all views.
The default values will change based on the current locale.
Time-text will only be displayed for Event Objects that have allDay equal to false.
Here is an example of displaying all events in a 24-hour format:
$('#calendar').fullCalendar({
events: [
{
title: 'My Event',
start: '2010-01-01T14:30:00',
allDay: false
}
// other events here...
],
timeFormat: 'H(:mm)' // uppercase H for 24-hour clock
});