The timeFormat property (string) sets the time format (12/24 hour clock) used when displaying time (see also eventStartTime, eventEndTime).
"Auto"
dp.timeFormat = "Clock12Hours";