Time selection

The date picker ships with five built-in variations for rendering the UI. The controls option supports the following:

  • date - renders a date-only scroller or dropdown control
  • time - renders a time-only scroller or dropdown control
  • timegrid - renders a time grid for time selection
  • datetime - renders a date & time scroller or dropdown
  • calendar - renders a calendar view for date picking

When passing controls: ['time'], it will render a time-only picker - scroller for touchUi: true and a dropdown for touchUi: false. For a time grid use controls: ['timegrid'] instead.

You can change the timeFormat or rely on the formats coming from the locale settings.

Interested in date selection?  Learn how to set up a date-only picker →
Get started with this example

Demo

<MbscDatepicker
  :controls="['time']"
  :touchUi=""
/>
<MbscDatepicker
  :controls="['time']"
  :touchUi=""
  timeFormat="HH:mm"
/>
<MbscDatepicker
  :controls="['time']"
  :touchUi=""
  timeFormat="h:mm A"
/>
<MbscDatepicker
  :controls="['time']"
  :touchUi=""
  timeFormat="HH:mm:ss"
  headerText="Time: {value}"
/>

Duplicate Session

You have signed in on a different machine. To keep everything in sync, you have been signed out of this session.

If you need to invite team members, manage seats and accounts you can do it from the licenses page.

Duplicate Session

We noticed you are logged in on a different machine and have closed your old session.

If you need to invite team members, manage seats and accounts you can do it from the licenses page.