Fork me on GitHub

TimePicker Test

< Back to widget demos

Examples for both a 12/24-hour clock. Set the "format" option to either "HH:mm" for a 24-hour or "hh:mm a" for a 12-hour clock. MomentJS is used to parse the incoming time so it can be a Date, String, or Moment instance. The value function return a Moment instance so any of the libraries functions can be used on the result.

12-hour



24-hour