The Date & Time component supports selection for date, time separately and combined.

There are three shorthands available that you can use when creating the controls: date, time and datetime.

Date

mobiscroll.date("#date-input");

Time

mobiscroll.time("time-input");

Date & Time

mobiscroll.datetime("datetime-input");

The combined date and time picker supports a compact view with stacked wheels and an expanded view with a separate wheel for every date-part and time-part.

TIP: Try demos for all three modes.

What's next?

Did this answer your question?