## Formatting Your Time

The default format is "HH:mm". To use 12 hour time use something similar to: "hh:mm tt". When both "t" and lower case "h" are present in the timeFormat, 12 hour time will be used.

H
  Hour with no leading 0 (24 hour)
HH
  Hour with leading 0 (24 hour)
h
  Hour with no leading 0 (12 hour)
hh
  Hour with leading 0 (12 hour)
m
  Minute with no leading 0
mm
  Minute with leading 0
s
  Second with no leading 0
ss
  Second with leading 0
l
  Milliseconds always with leading 0
c
  Microseconds always with leading 0
t
  a or p for AM/PM
T
  A or P for AM/PM
tt
  am or pm for AM/PM
TT
  AM or PM for AM/PM
z
  Timezone as defined by timezoneList
Z
  Timezone in Iso 8601 format (+04:45)
'...'
  Literal text (Uses single quotes)

Formats are used in the following ways:

- timeFormat option
- altTimeFormat option
- pickerTimeFormat option
- $.datepicker.formatTime(format, timeObj, options) utility method
- $.datepicker.parseTime(format, timeStr, options) utility method

For help with formatting the date portion, visit the datepicker documentation for formatting dates.