Skip to main content
Date, time or both?
Levi Kovacs avatar
Written by Levi Kovacs
Updated over 7 years ago

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.

What's next?

Did this answer your question?