Date & Time for jQuery and jQuery Mobile

Learn about Date & Time

Date & time scroller component for date, time selection or a combination of both.

Compatible with mobiscroll forms, custom inputs and more. Use it on any touch screen, no matter if small or large.

Shipping with useful features for a refined UX, including:

  • Usage on mobile and tablet
  • Date-only, time-only or mixed modes
  • Steps for display values
  • Hide wheels that are not needed
  • Validation with disabled dates, min & max for restricting selection
  • Circular wheels
  • Multiple theme support
  • Modal, popup and inline display mores
  • RTL Support
  • Full localization


Interested in date and/or time selection? Other demos that could be useful:

Calendar Range Timespan


Date & Time demos available for other frameworks.

Viewing demos & code for

light
dark

Change the theme setting here

Date & Time - Mobile & Desktop usage

Change demo
Mobile & Desktop usage

Use it for mobile, desktop and everything in between by setting it up responsively (view responsive demo). The component can be rendered for touch UI - great for smartphones and tablets - and for non-touch UI screens like laptop and desktops. The main difference is that they are optimized for either touch or pointer interaction.

mobiscroll.settings = {
    lang: '',
    theme: ''
};

$(function () {

    $('#demo-mobile').mobiscroll().date({
        display: 'bubble'
    });

    $('#demo-desktop').mobiscroll().date({
        display: 'bubble',
        touchUi: false
    });

});
<div mbsc-form style="max-width:900px;margin:0 auto;">
    <div class="mbsc-grid mbsc-form-grid">
        <div class="mbsc-row">
            <div class="mbsc-col-sm-12 mbsc-col-md-6">
                <label>
                    Mobile
                    <input id="demo-mobile" data-input-style="box" placeholder="Please Select..." />
                </label>
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-6">
                <label>
                    Desktop
                    <input id="demo-desktop" data-input-style="box" placeholder="Please Select..." />
                </label>
            </div>
        </div>
    </div>
</div>

Date & Time - App & Website usage

Change demo
App & Website usage

Use it on any custom input or with Mobiscroll form fields. The component is triggered on input focus, but is can also be triggered on a button click.

Let’s say you already have a form and you want to enhance the date picking experience. No problem, the date & time can be used on your existing fields. Most of our examples are presented using Mobiscroll form fields, but you get the picture.

mobiscroll.settings = {
    lang: '',
    theme: '',
    display: 'bubble'
};

$(function () {

    $('#demo-app-website-form').mobiscroll().form({
        inputStyle: 'box'
    });

    $('#demo-app-date').mobiscroll().date();

    $('#demo-app-time').mobiscroll().time();

    $('#demo-app-date-non-form').mobiscroll().date();

    var instance = $('#demo-app-date-external').mobiscroll().date({
        showOnTap: false,
        showOnFocus: false,
        onInit: function (event, inst) {
            inst.setVal(new Date(), true);
        }
    }).mobiscroll('getInst');

    $('#show-demo-app-date-external').click(function () {
        instance.show();
        return false;
    });

});
<div style="max-width:900px;margin:0 auto;" mbsc-page>    <div id="demo-app-website-form">
        <div class="mbsc-grid mbsc-form-grid">
            <div class="mbsc-form-group">
                <div class="mbsc-form-group-title">Using the Data & Time with Mobiscroll form fields</div>
                <div class="mbsc-row">
                    <div class="mbsc-col-sm-12 mbsc-col-md-6">
                        <label>
                            Date
                            <input id="demo-app-date" placeholder="Please Select..." />
                        </label>
                    </div>
                    <div class="mbsc-col-sm-12 mbsc-col-md-6">
                        <label>
                            Time
                            <input id="demo-app-time" placeholder="Please Select..." />
                        </label>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="mbsc-note mbsc-note-primary mbsc-align-center">Use the date picker on any non-mobiscroll form field.</div>
    <div class="mbsc-grid">
        <div class="mbsc-row">
            <div class="mbsc-col-sm-12 mbsc-col-md-6">
                <label for="demo-app-date-non-form">Date</label>
                <input id="demo-app-date-non-form" class="demo-non-form" placeholder="Please Select..." />
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-6">
                <div class="mbsc-row mbsc-align-items-end">
                    <div class="mbsc-col-9">
                        <label for="demo-app-date-external">Show on button click only</label>
                        <input id="demo-app-date-external" class="demo-non-form" />
                    </div>
                    <div class="mbsc-col-3 external-container">
                        <button id="show-demo-app-date-external" class="external-button">Show</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
.demo-non-form {
    color: initial;
    width: 100%;
    padding: 10px;
    margin: 6px 0 12px 0;
    border: 1px solid #ccc;
    border-radius: 0;
    font-family: arial, verdana, sans-serif;
    font-size: 14px;
    box-sizing: border-box;
    -webkit-appearance: none;
}

.external-container button.external-button {
    font-weight: 400;
    padding: 10px;
    margin: 6px 0 13px 0;
    width: 100%;
}

Date & Time - Date object, ISO 8601 & moment.js

Change demo
Date object, ISO 8601 & moment.js

The date & time picker supports multiple data types. You can work with JS date objects - new Date(1995, 11, 17, 15, 24), ISO date strings - '2008-09-15T15:53:00', localized date strings - '04/25/2010 8:15 AM' and moment.js objects - moment([2018, 3, 27, 12, 15]).

mobiscroll.settings = {
    theme: '',
    lang: ''
};

$(function () {

    var dateInstance = $('#demo-date-object').mobiscroll().datetime({
            dateWheels: '|D M d|',
            onSet: function (event, inst) {
                updateValue('returnVal', inst);
            }
        }).mobiscroll('getInst'),

        isoInstance = $('#demo-iso').mobiscroll().datetime({
            dateWheels: '|D M d|',
            returnFormat: 'iso8601',
            onSet: function (event, inst) {
                updateValue('returnISO', inst);
            }
        }).mobiscroll('getInst'),

        localeInstance = $('#demo-locale').mobiscroll().datetime({
            dateWheels: '|D M d|',
            returnFormat: 'locale',
            onSet: function (event, inst) {
                updateValue('returnLocale', inst);
            }
        }).mobiscroll('getInst'),

        momentInstance = $('#demo-moment').mobiscroll().datetime({
            dateWheels: '|D M d|',
            returnFormat: 'moment',
            onSet: function (event, inst) {
                updateValue('returnMoment', inst);
            }
        }).mobiscroll('getInst');

    $('#setDate').click(function () {
        $('#demo-date-object').mobiscroll('setVal', new Date(1995, 11, 17, 15, 24), true);
        updateValue('returnVal', dateInstance);
    });

    $('#setISO').click(function () {
        $('#demo-iso').mobiscroll('setVal', '2008-09-15T15:53:00', true);
        updateValue('returnISO', isoInstance);
    });

    $('#setLocale').click(function () {
        $('#demo-locale').mobiscroll('setVal', '04/25/2010 8:15 AM', true);
        updateValue('returnLocale', localeInstance);
    });

    $('#setMoment').click(function () {
        // make sure that moment js is loaded
        $('#demo-moment').mobiscroll('setVal', moment([2018, 3, 27, 12, 15]), true);
        updateValue('returnMoment', momentInstance);
    });

    function updateValue(id, inst) {
        if (id == 'returnMoment') {
            document.getElementById(id).innerHTML = inst.getVal().format();
        } else {
            document.getElementById(id).innerHTML = inst.getVal();
        }
    }

});
<div mbsc-form>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Working with Js Date Objects</div>
        <div class="mbsc-btn-group-block">
            <button id="setDate" class="mbsc-btn-primary">Set: Sun Dec 17 1995 03:24:00 GMT</button>
        </div>
        <div>
            <label>
                Date object
                <input id="demo-date-object" />
            </label>
        </div>
    </div>
    <div class="mbsc-form-group mbsc-padding">
        Return value: <text id="returnVal"></text>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Working with Date strings</div>
        <div class="mbsc-btn-group-block">
            <button id="setISO" class="mbsc-btn-primary">Set: 2008-09-15T15:53:00</button>
        </div>
        <div>
            <label>
                ISO string
                <input id="demo-iso" />
            </label>
        </div>
    </div>
    <div class="mbsc-form-group mbsc-padding">
        Return value: <text id="returnISO"></text>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Working with Localized Strings</div>
        <div class="mbsc-btn-group-block">
            <button id="setLocale" class="mbsc-btn-primary">Set: 04/25/2010 8:15 AM</button>
        </div>
        <div>
            <label>
                Locale format
                <input id="demo-locale" />
            </label>
        </div>
    </div>
    <div class="mbsc-form-group mbsc-padding">
        Return value: <text id="returnLocale"></text>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Working with Moment JS Objects</div>
        <div class="mbsc-btn-group-block">
            <button id="setMoment" class="mbsc-btn-primary">Set: 2018-04-18T15:00:00+03:00</button>
        </div>
        <div>
            <label>
                Moment JS
                <input id="demo-moment" />
            </label>
        </div>
    </div>
    <div class="mbsc-form-group mbsc-padding">
        Return value: <text id="returnMoment"></text>
    </div>
</div>

Date & Time - Mobile display modes

Change demo
Mobile display modes

Depending on your requirements you can use different display modes for both mobile and desktop. On mobile the component can be rendered either at the top or bottom of the screen, in the center of the screen, anchored to an input or any object for that matter and it can also be embedded in any inline content.

Interested in desktop usage?  Check out the next example →
mobiscroll.settings = {
    lang: '',
    theme: ''
};

$(function () {

    $('#demo-mobile-bottom').mobiscroll().date({
        display: 'bottom'
    });

    $('#demo-mobile-top').mobiscroll().date({
        display: 'top'
    });

    $('#demo-mobile-center').mobiscroll().date({
        display: 'center'
    });

    $('#demo-mobile-bubble').mobiscroll().date({
        display: 'bubble'
    });

    $('#demo-mobile-inline').mobiscroll().date({
        display: 'inline',
        layout: 'liquid'
    });

});
<div mbsc-form>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Try different display modes</div>
        <label>
            Bottom
            <input id="demo-mobile-bottom" placeholder="Please Select..." />
        </label>
        <label>
            Top
            <input id="demo-mobile-top" type="text" placeholder="Please Select..." />
        </label>
        <label>
            Center
            <input id="demo-mobile-center" type="text" placeholder="Please Select..." />
        </label>
        <label>
            Bubble
            <input id="demo-mobile-bubble" type="text" placeholder="Please Select..." />
        </label>
    </div>
    <div class="mbsc-form-group mbsc-padding">
        <p class="mbsc-thin">With inline display you can embed the Date & Time component in almost any markup or form.</p>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Embedded date picker</div>
        <div id="demo-mobile-inline"></div>
    </div>
</div>

Date & Time - Desktop display modes

Change demo
Desktop display modes

Use the available display modes on mobile and desktop. On larger screens you have slightly different rendering options suitable for the large form-factor and pointer interaction. Use the top, bottom and center modes for getting it in front of the users or stay in context and anchor it to the input.

Interested in mobile usage?  Check out the previous example →
mobiscroll.settings = {
    lang: '',
    theme: ''
};

$(function () {

    $('#demo-desktop-top').mobiscroll().date({
        display: 'top',
        touchUi: false
    });

    $('#demo-desktop-bottom').mobiscroll().date({
        display: 'bottom',
        touchUi: false
    });

    $('#demo-desktop-anchored').mobiscroll().date({
        touchUi: false
    });

    $('#demo-desktop-center').mobiscroll().date({
        display: 'center',
        touchUi: false
    });

    $('#demo-desktop-datetime').mobiscroll().datetime({
        touchUi: false
    });

    $('#demo-desktop-date').mobiscroll().date({
        touchUi: false
    });

    $('#demo-desktop-time').mobiscroll().time({
        touchUi: false
    });

    $('#demo-desktop-set').mobiscroll().datetime({
        display: 'center',
        touchUi: false,
        buttons: ['set']
    });

    $('#demo-desktop-set-cancel').mobiscroll().datetime({
        display: 'center',
        touchUi: false,
        buttons: ['set', 'cancel']
    });
});
<div mbsc-form>
    <div class="mbsc-grid">
        <div class="mbsc-row mbsc-justify-content-center">
            <div class="mbsc-col-sm-9 mbsc-col-md-7 mbsc-col-xl-5">
                <div class="mbsc-form-group-inset">
                    <div class="mbsc-form-group-title">Pop-up positioning</div>
                    <label>
                        Top
                        <input id="demo-desktop-top" placeholder="Please Select..." />
                    </label>
                    <label>
                        Bottom
                        <input id="demo-desktop-bottom" placeholder="Please Select..." />
                    </label>
                    <label>
                        Anchored
                        <input id="demo-desktop-anchored" placeholder="Please Select..." />
                    </label>
                    <label>
                        Center
                        <input id="demo-desktop-center" placeholder="Please Select..." />
                    </label>
                </div>
            </div>
        </div>
        <div class="mbsc-row mbsc-justify-content-center">
            <div class="mbsc-col-sm-9 mbsc-col-md-7 mbsc-col-xl-5">
                <div class="mbsc-form-group-inset">
                    <div class="mbsc-form-group-title">Basic usage</div>
                    <label>
                        Date & Time
                        <input id="demo-desktop-datetime" placeholder="Please Select..." />
                    </label>
                    <label>
                        Date
                        <input id="demo-desktop-date" placeholder="Please Select..." />
                    </label>
                    <label>
                        Time
                        <input id="demo-desktop-time" placeholder="Please Select..." />
                    </label>
                </div>
            </div>
        </div>
        <div class="mbsc-row mbsc-justify-content-center">
            <div class="mbsc-col-sm-9 mbsc-col-md-7 mbsc-col-xl-5">
                <div class="mbsc-form-group-inset">
                    <div class="mbsc-form-group-title">With buttons</div>
                    <label>
                        Set button
                        <input id="demo-desktop-set" placeholder="Please Select..." />
                    </label>
                    <label>
                        Set/Cancel
                        <input id="demo-desktop-set-cancel" placeholder="Please Select..." />
                    </label>
                </div>
            </div>
        </div>
    </div>
</div>

Date & Time - Responsive behavior

Change demo
Responsive behavior

Configure the date & time to behave and render differently on different sized screens. You can have a bottom positioned date scroller on mobile, a popover anchored to the input on tablet and desktop display on large sceens.

All this can be configured under the responsive setting. Think of it as configuring how the settings change based on the screen-size.

mobiscroll.settings = {
    lang: '',
    theme: ''
};

$(function () {

    $('#demo-responsive-datetime').mobiscroll().datetime({
        responsive: {
            xsmall: {
                dateWheels: '|D M d|'
            },
            small: {
                dateWheels: '|D M d|',
                display: 'bubble'
            },
            medium: {
                touchUi: false
            }
        }
    });

    $('#demo-responsive-date').mobiscroll().date({
        headerText: '{value}',
        responsive: {
            small: {
                display: 'bubble'
            },
            medium: {
                headerText: false,
                touchUi: false
            }
        }
    });

    $('#demo-responsive-time').mobiscroll().time({
        responsive: {
            small: {
                display: 'bubble'
            },
            medium: {
                touchUi: false
            }
        }
    });

});
<div mbsc-form>

    <div class="mbsc-grid">
        <div class="mbsc-row mbsc-justify-content-center">
            <div class="mbsc-col-sm-9 mbsc-col-md-7 mbsc-col-xl-5">
                <div class="mbsc-form-group-inset">
                    <div class="mbsc-form-group-title">Basic usage</div>
                    <label>
                        Date & Time
                        <input id="demo-responsive-datetime" placeholder="Please Select..." />
                    </label>
                    <label>
                        Date
                        <input id="demo-responsive-date" placeholder="Please Select..." />
                    </label>
                    <label>
                        Time
                        <input id="demo-responsive-time" placeholder="Please Select..." />
                    </label>
                </div>
            </div>
        </div>

    </div>
</div>

Date & Time - Date picker

Change demo
Date picker

Use the component for date selection and only show the day, month and year wheels. Use the dateFormat and dateWheel settings to customize the experience. Check out some great examples for custom formats and for hiding the day resulting in a month/year picker.

Use the same component but different configuration for time and date-time selection.

mobiscroll.settings = {
    lang: '',
    theme: '',
    display: 'bubble'
};

$(function () {

    var now = new Date();

    $('#demo-date-mobile').mobiscroll().date({
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-date-desktop').mobiscroll().date({
        touchUi: false,
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-date-header').mobiscroll().date({
        headerText: '{value}',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-date-non-form').mobiscroll().date({
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    var instance = $('#demo-date-external').mobiscroll().date({
        showOnTap: false,
        showOnFocus: false,
        onInit: function (event, inst) {
            inst.setVal(new Date(), true);
        }
    }).mobiscroll('getInst');;

    $('#show-demo-date-external').click(function () {
        instance.show();
        return false;
    });

});
<div style="max-width:1000px;margin:0 auto;" mbsc-page>    <div mbsc-form>
        <div class="mbsc-grid mbsc-form-grid">
            <div class="mbsc-row">
                <div class="mbsc-col-sm-12 mbsc-col-md-4">
                    <label>
                        Mobile
                        <input id="demo-date-mobile" data-input-style="box" data-label-style="stacked" />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4">
                    <label>
                        Desktop
                        <input id="demo-date-desktop" data-input-style="box" data-label-style="stacked" />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4">
                    <label>
                        Header text
                        <input id="demo-date-header" data-input-style="box" data-label-style="stacked" />
                    </label>
                </div>
            </div>
        </div>
    </div>
    <div class="mbsc-note mbsc-note-primary mbsc-align-center">Use the date picker on any non-mobiscroll form field.</div>
    <div class="mbsc-grid">
        <div class="mbsc-row">
            <div class="mbsc-col-sm-12 mbsc-col-md-6">
                <label for="demo-date-non-form">Date</label>
                <input id="demo-date-non-form" class="demo-non-form" />
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-6">
                <div class="mbsc-row mbsc-align-items-end">
                    <div class="mbsc-col-9">
                        <label for="demo-date-external">Show on button click only</label>
                        <input id="demo-date-external" class="demo-non-form" />
                    </div>
                    <div class="mbsc-col-3 external-container">
                        <button id="show-demo-date-external" class="external-button">Show</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
.demo-non-form {
    color: initial;
    width: 100%;
    padding: 10px;
    margin: 6px 0 12px 0;
    border: 1px solid #ccc;
    border-radius: 0;
    font-family: arial, verdana, sans-serif;
    font-size: 14px;
    box-sizing: border-box;
    -webkit-appearance: none;
}

.external-container button.external-button {
    font-weight: 400;
    padding: 10px;
    margin: 6px 0 13px 0;
    width: 100%;
}

Once we started using Mobiscroll, our conversions have improved and the experience became much more delightful!

Daniel Maldonado, Sr. Web Designer, Ecommission Financial Services

Date & Time - Time-only picker

Change demo
Time-only picker

Use the component for time selection with wheels for hours, minutes and seconds. Control the format - timeFormat and wheels - timeWheels and switch between AM/PM or 24h formats. Check out some great examples for custom formats.

Use the same component but different configuration for date and date-time selection.

mobiscroll.settings = {
    lang: '',
    theme: '',
    display: 'bubble'
};

$(function () {

    var now = new Date();
    
    $('#demo-time-form').mobiscroll().form({
        inputStyle: 'box',
        labelStyle: 'stacked'
    });

    $('#demo-time-mobile').mobiscroll().time({
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-time-desktop').mobiscroll().time({
        touchUi: false,
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-time-12h').mobiscroll().time({
        timeFormat: 'hh:ii A',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-time-24h').mobiscroll().time({
        timeFormat: 'HH:ii',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-time-hms').mobiscroll().time({
        timeFormat: 'HH:ii:ss',
        headerText: 'Time: {value}',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-time-non-form').mobiscroll().time({
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    var instance = $('#demo-time-external').mobiscroll().time({
        showOnTap: false,
        showOnFocus: false,
        onInit: function (event, inst) {
            inst.setVal(new Date(), true);
        }
    }).mobiscroll('getInst');

    $('#show-demo-time-external').click(function () {
        instance.show();
        return false;
    });

});
<div style="max-width:900px;margin:0 auto;" mbsc-page>    <div id="demo-time-form">
        <div class="mbsc-grid mbsc-form-grid">
            <div class="mbsc-form-group">
                <div class="mbsc-form-group-title">Use it on mobile and desktop</div>
                <div class="mbsc-row">
                    <div class="mbsc-col-sm-12 mbsc-col-md-6">
                        <label>
                            Mobile
                            <input id="demo-time-mobile" />
                        </label>
                    </div>
                    <div class="mbsc-col-sm-12 mbsc-col-md-6">
                        <label>
                            Desktop
                            <input id="demo-time-desktop" />
                        </label>
                    </div>
                </div>
            </div>
            <div class="mbsc-form-group">
                <div class="mbsc-form-group-title">Time picker with different time formats</div>
                <div class="mbsc-row">
                    <div class="mbsc-col-sm-12 mbsc-col-md-4">
                        <label>
                            12 h
                            <input id="demo-time-12h" />
                        </label>
                    </div>
                    <div class="mbsc-col-sm-12 mbsc-col-md-4">
                        <label>
                            24 h
                            <input id="demo-time-24h" />
                        </label>
                    </div>
                    <div class="mbsc-col-sm-12 mbsc-col-md-4">
                        <label>
                            Hour, Min, Sec
                            <input id="demo-time-hms" />
                        </label>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="mbsc-note mbsc-note-primary mbsc-align-center">Use the time picker on any non-mobiscroll form field.</div>
    <div class="mbsc-grid">
        <div class="mbsc-row">
            <div class="mbsc-col-sm-12 mbsc-col-md-6">
                <label for="demo-time-non-form">Time</label>
                <input id="demo-time-non-form" class="demo-non-form" />
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-6">
                <div class="mbsc-row mbsc-align-items-end">
                    <div class="mbsc-col-9">
                        <label for="demo-time-external">Show on button click only</label>
                        <input id="demo-time-external" class="demo-non-form" />
                    </div>
                    <div class="mbsc-col-3 external-container">
                        <button id="show-demo-time-external" class="external-button">Show</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
.demo-non-form {
    color: initial;
    width: 100%;
    padding: 10px;
    margin: 6px 0 12px 0;
    border: 1px solid #ccc;
    border-radius: 0;
    font-family: arial, verdana, sans-serif;
    font-size: 14px;
    box-sizing: border-box;
    -webkit-appearance: none;
}

.external-container button.external-button {
    font-weight: 400;
    padding: 10px;
    margin: 6px 0 13px 0;
    width: 100%;
}

Date & Time - Date & time picker

Change demo
Date & time picker

Use the component for a combined date & time picker. Select a day, month, year along with hour and minutes on separate wheels or have the date on a single wheel and the time on separate wheels.

Show the date and time in localized formats or customize it to your needs. Take a look at some of the formatting options available.

Besides the combined view you can use it as a date-only and time-only picker.

mobiscroll.settings = {
    lang: '',
    theme: '',
    display: 'bubble'
};

$(function () {

    var now = new Date();

    $('#demo-datetime-form').mobiscroll().form({
        inputStyle: 'box',
        labelStyle: 'stacked'
    });

    $('#demo-datetime').mobiscroll().datetime({
        dateWheels: '|D M d|',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-datetime-expanded').mobiscroll().datetime({
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-datetime-date').mobiscroll().date({
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-datetime-time').mobiscroll().time({
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-datetime-non-form').mobiscroll().datetime({
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    var instance = $('#demo-datetime-external').mobiscroll().datetime({
        showOnTap: false,
        showOnFocus: false,
        onInit: function (event, inst) {
            inst.setVal(new Date(), true);
        }
    }).mobiscroll('getInst');

    $('#show-demo-datetime-external').click(function () {
        instance.show();
        return false;
    });

});
<div style="max-width:1000px;margin:0 auto;" mbsc-page>    <div id="demo-datetime-form">
        <div class="mbsc-grid">
            <div class="mbsc-row">
                <div class="mbsc-col-sm-12 mbsc-col-md-7">
                    <div class="mbsc-form-group">
                        <div class="mbsc-form-group-title">Date and time in the same field</div>
                        <div class="mbsc-row mbsc-form-grid">
                            <div class="mbsc-col-sm-12 mbsc-col-lg-6">
                                <label>
                                    Compact
                                    <input id="demo-datetime" />
                                </label>
                            </div>
                            <div class="mbsc-col-sm-12 mbsc-col-lg-6">
                                <label>
                                    Expanded
                                    <input id="demo-datetime-expanded" />
                                </label>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-5">
                    <div class="mbsc-form-group">
                        <div class="mbsc-form-group-title">Date and time separately</div>
                        <div class="mbsc-row mbsc-form-grid">
                            <div class="mbsc-col-sm-12 mbsc-col-lg-6">
                                <label>
                                    Date
                                    <input id="demo-datetime-date" />
                                </label>
                            </div>
                            <div class="mbsc-col-sm-12 mbsc-col-lg-6">
                                <label>
                                    Time
                                    <input id="demo-datetime-time" />
                                </label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="mbsc-note mbsc-note-primary mbsc-align-center">Use the datetime picker on any non-mobiscroll form field.</div>
    <div class="mbsc-grid">
        <div class="mbsc-row">
            <div class="mbsc-col-sm-12 mbsc-col-md-6">
                <label for="demo-datetime-non-form">Date</label>
                <input id="demo-datetime-non-form" class="demo-non-form" />
            </div>
            <div class="mbsc-col-sm-12 mbsc-col-md-6">
                <div class="mbsc-row mbsc-align-items-end">
                    <div class="mbsc-col-9">
                        <label for="demo-datetime-external">Show on button click only</label>
                        <input id="demo-datetime-external" class="demo-non-form" />
                    </div>
                    <div class="mbsc-col-3 external-container">
                        <button id="show-demo-datetime-external" class="external-button">Show</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
.demo-non-form {
    color: initial;
    width: 100%;
    padding: 10px;
    margin: 6px 0 12px 0;
    border: 1px solid #ccc;
    border-radius: 0;
    font-family: arial, verdana, sans-serif;
    font-size: 14px;
    box-sizing: border-box;
    -webkit-appearance: none;
}

.external-container button.external-button {
    font-weight: 400;
    padding: 10px;
    margin: 6px 0 13px 0;
    width: 100%;
}

Date & Time - Month and year picker

Change demo
Month and year picker

Customize the wheels and format the date picker for month & year. Choose a month/year format for credit card expiration date.

This and even more can be done with the dateWheels setting.

Interested in changing the date format?  Explore formatting options →
mobiscroll.settings = {
    theme: '',
    lang: ''
};

$(function () {

    var now = new Date(),
        until = new Date(now.getFullYear() + 10, now.getMonth());

    $('#demo').mobiscroll().date({
        dateWheels: 'mm - MM  yy',
        dateFormat: 'mm/yy',
        min: now,
        minWidth: 100,
        max: until
    });

});
<div mbsc-form>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Add a new credit card</div>
        <label>
            Name
            <input type="text" placeholder="Required" />
        </label>
        <label>
            Card
            <input type="text" placeholder="Credit card number" />
        </label>
        <label>
            Expiration
            <input id="demo" type="text" placeholder="Required" value="12/2020" />
        </label>
        <label>
            Security
            <input type="text" placeholder="3-digit CVV" />
        </label>
    </div>
</div>

Date & Time - Min & max values

Change demo
Min & max values

Use the min and max settings to restrict selection. This is useful to make the selection faster and to reduce user errors. A great example is date of birth. You want to disable future dates and maybe add age verification? Simply restrict values up to 18 years in the past.

Looking for a more sophisticated way for disabling dates?  See how to disable dates and times →
mobiscroll.settings = {
    lang: '',
    theme: '',
    display: 'bubble'
};

$(function () {

    var now = new Date(),
        minDate = new Date(now.getFullYear() - 100, 0, 1),
        maxDate = new Date(now.getFullYear() + 30, 11, 31),
        minTime = new Date(new Date().setHours(10, 30)),
        maxTime = new Date(new Date().setHours(18, 59)),
        bday = new Date(now.getFullYear() - 18, now.getMonth(), now.getDay());

    $('#demo-min-max-form').mobiscroll().form({
        inputStyle: 'box',
        labelStyle: 'stacked'
    });

    $('#demo-min-date').mobiscroll().date({
        min: minDate,
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-max-date').mobiscroll().date({
        max: maxDate,
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-dob').mobiscroll().date({
        max: bday,
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-inf').mobiscroll().date({
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-min-time').mobiscroll().time({
        min: minTime,
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-max-time').mobiscroll().time({
        max: maxTime,
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-min-max').mobiscroll().time({
        min: minTime,
        max: maxTime,
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-min-max-string').mobiscroll().date({
        max: '2018-08-31T00:00',
        min: '07/01/2018',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-min-max-moment').mobiscroll().date({
        max: moment([2018, 8, 30]),
        min: moment([2018, 7, 1]),
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

});
<div style="max-width:1100px;margin:0 auto;" mbsc-page>    <div id="demo-min-max-form">
        <div class="mbsc-grid">
            <div class="mbsc-form-group">
                <div class="mbsc-form-group-title">Restricting the date picker</div>
                <div class="mbsc-row mbsc-form-grid">
                    <div class="mbsc-col-sm-12 mbsc-col-md-6 mbsc-col-xl-3">
                        <label>
                            Min date
                            <input id="demo-min-date" />
                        </label>
                    </div>
                    <div class="mbsc-col-sm-12 mbsc-col-md-6 mbsc-col-xl-3">
                        <label>
                            Max date
                            <input id="demo-max-date" />
                        </label>
                    </div>
                    <div class="mbsc-col-sm-12 mbsc-col-md-6 mbsc-col-xl-3">
                        <label>
                            Date of birth
                            <input id="demo-dob" />
                        </label>
                    </div>
                    <div class="mbsc-col-sm-12 mbsc-col-md-6 mbsc-col-xl-3">
                        <label>
                            Infinite
                            <input id="demo-inf" />
                        </label>
                    </div>
                </div>
            </div>
            <div class="mbsc-form-group">
                <div class="mbsc-form-group-title">Restricting the time picker</div>
                <div class="mbsc-row mbsc-form-grid">
                    <div class="mbsc-col-sm-12 mbsc-col-md-4">
                        <label>
                            Min time
                            <input id="demo-min-time" />
                        </label>
                    </div>
                    <div class="mbsc-col-sm-12 mbsc-col-md-4">
                        <label>
                            Max time
                            <input id="demo-max-time" />
                        </label>
                    </div>
                    <div class="mbsc-col-sm-12 mbsc-col-md-4">
                        <label>
                            Min & max
                            <input id="demo-min-max" />
                        </label>
                    </div>
                </div>
            </div>
            <div class="mbsc-note mbsc-note-primary mbsc-align-center">Besides date objects you can use date strings and moment.js for min & max.</div>
            <div class="mbsc-form-group">
                <div class="mbsc-form-group-title">Date formats</div>
                <div class="mbsc-row mbsc-form-grid">
                    <div class="mbsc-col-sm-12 mbsc-col-md-6">
                        <label>
                            String
                            <input id="demo-min-max-string" />
                        </label>
                    </div>
                    <div class="mbsc-col-sm-12 mbsc-col-md-6">
                        <label>
                            Moment JS
                            <input id="demo-min-max-moment" />
                        </label>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

Date & Time - Setting invalids

Change demo
Setting invalids

Disable dates with the invalid setting. It supports exact dates, ranges, recurring dates and weekdays. Time can also be invalidated by passing exact values and ranges.

Using invalids is essential to a great UX. First make sure you have the min & max values right and then work your way back to invalids. If you would like to re-enable dates inside an invalid range, you can do it with the valid setting. Having it set up correctly not just enhances the UX, but improves performance.

mobiscroll.settings = {
    lang: '',
    theme: '',
    display: 'bubble'
};

$(function () {

    var now = new Date();

    $('#demo-inv-form').mobiscroll().form({
        inputStyle: 'box',
        labelStyle: 'stacked'
    });

    $('#demo-inv-date').mobiscroll().date({
        invalid: [
            new Date(2018, 1, 3),
            new Date(2018, 6, 11)
        ],
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-inv-rec').mobiscroll().date({
        invalid: [
            '1/1',
            '1/2',
            '12/25',
            '12/26',
            '7/10',
            '7/13',
            '9/10',
            '11/10'
        ],
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-inv-week').mobiscroll().date({
        invalid: ['w0', 'w2', 'w6'],
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-inv-date-range').mobiscroll().date({
        invalid: [
            { start: new Date(2018, 0, 27), end: new Date(2018, 2, 15) }
        ],
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-inv-time').mobiscroll().time({
        steps: {
            minute: 30
        },
        invalid: [
            { d: new Date(), start: '13:00', end: '13:00' },
            { d: new Date(), start: '15:00', end: '15:00' },
            { d: new Date(), start: '15:30', end: '15:30' },
            { d: new Date(), start: '16:00', end: '16:00' }
        ],
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-inv-time-range').mobiscroll().time({
        invalid: [
            { start: '12:00', end: '16:00' }
        ],
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-inv-val-date').mobiscroll().date({
        invalid: [
            { start: new Date(2018, 11, 20), end: new Date(2018, 11, 31) }
        ],
        valid: [
            { start: new Date(2018, 11, 24), end: new Date(2018, 11, 26) }
        ],
        onInit: function (event, inst) {
            inst.setVal(new Date(2018, 11, 19), true);
        }
    });

    $('#demo-inv-val-time').mobiscroll().time({
        invalid: [
            { start: '13:00', end: '20:00' }
        ],
        valid: [
            { start: '17:00', end: '17:30' },
            { start: '18:00', end: '18:30' }
        ],
        onInit: function (event, inst) {
            inst.setVal(new Date(new Date().setHours(12, 30, 0, 0)), true);
        }
    });

    $('#demo-inv-string').mobiscroll().date({
        invalid: [
            '2018-06-15T00:00',
            '2018-06-18T00:00',
            '06/20/2018',
            '06/23/2018'
        ],
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    // make sure that moment js is loaded
    $('#demo-inv-moment').mobiscroll().date({
        invalid: [
            moment([2018, 5, 15]),
            moment([2018, 5, 18])
        ],
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

});
<div style="max-width:1100px;margin:0 auto;" mbsc-page>    <div id="demo-inv-form">
        <div class="mbsc-grid">
            <div class="mbsc-form-group">
                <div class="mbsc-form-group-title">Invalidating dates</div>
                <div class="mbsc-row mbsc-form-grid">
                    <div class="mbsc-col-sm-12 mbsc-col-md-6 mbsc-col-xl-3">
                        <label>
                            Exact
                            <input id="demo-inv-date" />
                        </label>
                    </div>
                    <div class="mbsc-col-sm-12 mbsc-col-md-6 mbsc-col-xl-3">
                        <label>
                            Recurring
                            <input id="demo-inv-rec" />
                        </label>
                    </div>
                    <div class="mbsc-col-sm-12 mbsc-col-md-6 mbsc-col-xl-3">
                        <label>
                            Weekdays
                            <input id="demo-inv-week" />
                        </label>
                    </div>
                    <div class="mbsc-col-sm-12 mbsc-col-md-6 mbsc-col-xl-3">
                        <label>
                            Range
                            <input id="demo-inv-date-range" />
                        </label>
                    </div>
                </div>
            </div>
            <div class="mbsc-form-group">
                <div class="mbsc-form-group-title">Invalidating time</div>
                <div class="mbsc-row mbsc-form-grid">
                    <div class="mbsc-col-sm-12 mbsc-col-md-6">
                        <label>
                            Exact
                            <input id="demo-inv-time" />
                        </label>
                    </div>
                    <div class="mbsc-col-sm-12 mbsc-col-md-6">
                        <label>
                            Range
                            <input id="demo-inv-time-range" />
                        </label>
                    </div>
                </div>
            </div>
            <div class="mbsc-form-group">
                <div class="mbsc-form-group-title">Overriding inside invalid ranges</div>
                <div class="mbsc-row mbsc-form-grid">
                    <div class="mbsc-col-sm-12 mbsc-col-md-6">
                        <label>
                            12/20/2018 - 12/31/2018
                            <input id="demo-inv-val-date" />
                        </label>
                    </div>
                    <div class="mbsc-col-sm-12 mbsc-col-md-6">
                        <label>
                            13:00 - 20:00
                            <input id="demo-inv-val-time" />
                        </label>
                    </div>
                </div>
            </div>
            <div class="mbsc-note mbsc-note-primary mbsc-align-center">Besides date objects you can use date strings and moment.js for invalids.</div>
            <div class="mbsc-form-group">
                <div class="mbsc-form-group-title">Date formats</div>
                <div class="mbsc-row mbsc-form-grid">
                    <div class="mbsc-col-sm-12 mbsc-col-md-6">
                        <label>
                            String
                            <input id="demo-inv-string" />
                        </label>
                    </div>
                    <div class="mbsc-col-sm-12 mbsc-col-md-6">
                        <label>
                            Moment JS
                            <input id="demo-inv-moment" />
                        </label>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

Date & Time - Time value steps

Change demo
Time value steps

Adjust the minute, hour steps in the time picker. By default it is incrementing by one, however you can change it to anything you’d like. Need to pick values from every five minutes? You can do it with the steps setting.

mobiscroll.settings = {
    theme: '',
    lang: ''
};

$(function () {

    $('#demo').mobiscroll().datetime({
        steps: {
            minute: 15
        },
        dateWheels: '|D M d|'
    });

    $('#time-steps').mobiscroll().time({
        steps: {
            minute: 5
        }
    });

});
<div mbsc-form>
    <div class="mbsc-align-center">
        <div class="mbsc-note mbsc-note-primary">Set the time steps between wheel values. E.g. 5 min or 15 min.</div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Variable Steps</div>
        <label>
            Date & time
            <input id="demo" placeholder="Please Select..." />
        </label>
        <label>
            Time
            <input id="time-steps" type="text" placeholder="Please Select..." />
        </label>
    </div>
</div>

Date & Time - Setting values

Change demo
Setting values

Values can change a couple different ways: though defaults, intracting with the UI or programatically. The date and time picker defaults to now, which can be easily overridden with the defaultValue setting. The values are set by interacting with the component and making a selection or it can be done programatically with the setVal method. Use the buttons setting for showing/hiding set, cancel, clear, now or add custom buttons.

mobiscroll.settings = {
    theme: '',
    lang: ''
};

$(function () {

    $('#demo-set').mobiscroll().date();

    $('#demo-set-default').mobiscroll().date({
        defaultValue: new Date(2018, 2, 2)
    });

    var instance = $('#demo-set-inline').mobiscroll().date({
        display: 'inline'
    }).mobiscroll('getInst');

    $('#demo-set-now').mobiscroll().date({
        buttons: ['now', 'set', 'cancel']
    });

    $('#demo-set-custom').mobiscroll().date({
        buttons: [{
                text: 'Custom',
                handler: function (event, inst) {
                    inst.setVal(new Date(2018, 0, 1), true, true, false, 1000);
                }
            },
            'set',
            'cancel'
        ]
    });

    $('#demo-set-auto').mobiscroll().date({
        buttons: ['cancel']
    });

    $('#demo-set-today').off().click(function () {
        instance.setVal(new Date(), true, true, false, 1000);
        return false;
    });

    $('#demo-set-jan').off().click(function () {
        instance.setVal(new Date(2018, 0, 2), true, true, false, 1000);
        return false;
    });

});
<div mbsc-form>
    <div class="mbsc-align-center">
        <div class="mbsc-note mbsc-note-primary">Control the default value or programatically set the value runtime.</div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Controlling the default value</div>
        <label>
            Default
            <input id="demo-set" placeholder="Please Select..." />
        </label>
        <label>
            Custom default
            <input id="demo-set-default" placeholder="Please Select..." />
        </label>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Setting a custom value</div>
        <div class="mbsc-btn-group-block">
            <button id="demo-set-jan">Set 02-01-2018</button>
            <button id="demo-set-today">Set today</button>
        </div>
        <div id="demo-set-inline"></div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Buttons API</div>
        <label>
            Now
            <input id="demo-set-now" placeholder="Please Select..." />
        </label>
        <label>
            Custom
            <input id="demo-set-custom" placeholder="Please Select..." />
        </label>
        <label>
            Auto set
            <input id="demo-set-auto" placeholder="Please Select..." />
        </label>
    </div>
</div>

Date & Time - Formatting values

Change demo
Formatting values

Set the date and time format accordingly. Formats are inherited from the localization settings, but can be overriden with the dateFomat, timeFormat settings. The scrollable wheels are controlled by the dateWheels and timeWheels settings.

Interested in learning about localization?  Check out the examples below →
mobiscroll.settings = {
    theme: '',
    lang: ''
};

$(function () {

    var now = new Date();

    $('#demo-date-def').mobiscroll().date({
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-date-sep').mobiscroll().date({
        dateFormat: 'dd.mm.yy',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-date-month').mobiscroll().date({
        dateFormat: 'd MM yy',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-date-month-year').mobiscroll().date({
        dateFormat: 'mm/yy',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-date-month-only').mobiscroll().date({
        dateFormat: 'MM',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-date-day').mobiscroll().date({
        dateFormat: 'D d M, yy',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-date-atom').mobiscroll().date({
        dateFormat: 'yy-mm-dd',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-date-cookie').mobiscroll().date({
        dateFormat: 'D, dd M yy',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-time-def').mobiscroll().time({
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-time-12h').mobiscroll().time({
        timeFormat: 'hh:ii A',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-time-24h').mobiscroll().time({
        timeFormat: 'HH:ii',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-time-hms').mobiscroll().time({
        timeFormat: 'HH:ii:ss',
        headerText: 'Time: {value}',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-datetime-def').mobiscroll().datetime({
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

    $('#demo-datetime-day').mobiscroll().datetime({
        dateFormat: 'D d M, yy',
        timeFormat: 'H:ii',
        dateWheels: '|D d M, yy|',
        onInit: function (event, inst) {
            inst.setVal(now, true);
        }
    });

});
<div mbsc-form>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Date</div>
        <label>
            Default
            <input id="demo-date-def" />
        </label>
        <label>
            Separator
            <input id="demo-date-sep" />
        </label>
        <label>
            Month only
            <input id="demo-date-month-only" />
        </label>
        <label>
            Month name
            <input id="demo-date-month" />
        </label>
        <label>
            Month/year
            <input id="demo-date-month-year" />
        </label>
        <label>
            Day of week
            <input id="demo-date-day" />
        </label>
        <label>
            ATOM
            <input id="demo-date-atom" />
        </label>
        <label>
            COOKIE
            <input id="demo-date-cookie" />
        </label>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Time</div>
        <label>
            Default
            <input id="demo-time-def" />
        </label>
        <label>
            12 h
            <input id="demo-time-12h" />
        </label>
        <label>
            24 h
            <input id="demo-time-24h" />
        </label>
        <label>
            Hour, min, sec
            <input id="demo-time-hms" />
        </label>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Date & Time</div>
        <label>
            Default
            <input id="demo-datetime-def" />
        </label>
        <label>
            Day name
            <input id="demo-datetime-day" />
        </label>
    </div>
</div>

Date & Time - RTL Support

Change demo
RTL Support

Shipping with full RTL support, choose left-to-right or right-to-left with the rtl setting. The value is inherited from the localization settings, and can be manually overriden by explicitly turning it ON and OFF.

Learn more about RTL and accessibility  Browse the documentation →
mobiscroll.settings = {
    theme: '',
    lang: ''
};

$(function () {

    $('#arabic').mobiscroll().date({
        lang: 'ar'
    });

    $('#hebrew').mobiscroll().date({
        lang: 'he'
    });

    $('#farsi').mobiscroll().date({
        lang: 'fa'
    });

    $('#demo').mobiscroll().date({
        rtl: true
    });

    $('#myform').mobiscroll().form({
        rtl: true
    });

});
<div id="myform">
    <div class="mbsc-align-center">
        <div class="mbsc-note mbsc-note-primary">Use RTL with locale settings where applicable or manually enable it.</div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">RTL enabled by default</div>
        <label>
            Arabic
            <input id="arabic" placeholder="Please Select..." />
        </label>
        <label>
            Hebrew
            <input id="hebrew" placeholder="Please Select..." />
        </label>
        <label>
            Farsi
            <input id="farsi" placeholder="Please Select..." />
        </label>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Manually set RTL</div>
        <label>
            RTL
            <input id="demo" placeholder="Please Select..." />
        </label>
    </div>
</div>

Date & Time - Localization

Change demo
Localization

All components are fully localized. In case of the date picker this covers date and time format, button copy, rtl and more. You can see how each example shows up by clicking on the small flag icon or checking the examples below.

All settings can be manually overriden  See what options the localization impacts →
mobiscroll.settings = {
    theme: '',
    display: 'bubble'
};

$(function () {

    $('#demo-english').mobiscroll().datetime({
        lang: 'en'
    });

    $('#demo-arabic').mobiscroll().datetime({
        lang: 'ar'
    });

    $('#demo-bulgarian').mobiscroll().datetime({
        lang: 'bg'
    });

    $('#demo-catala').mobiscroll().datetime({
        lang: 'ca'
    });

    $('#demo-cestina').mobiscroll().datetime({
        lang: 'cs'
    });

    $('#demo-chinese').mobiscroll().datetime({
        lang: 'zh'
    });

    $('#demo-croatian').mobiscroll().datetime({
        lang: 'hr'
    });

    $('#demo-dansk').mobiscroll().datetime({
        lang: 'da'
    });

    $('#demo-deutsch').mobiscroll().datetime({
        lang: 'de'
    });

    $('#demo-english-uk').mobiscroll().datetime({
        lang: 'en-UK'
    });

    $('#demo-espanol').mobiscroll().datetime({
        lang: 'es'
    });

    $('#demo-francais').mobiscroll().datetime({
        lang: 'fr'
    });

    $('#demo-greek').mobiscroll().datetime({
        lang: 'el'
    });

    $('#demo-hindi').mobiscroll().datetime({
        lang: 'hi'
    });

    $('#demo-italiano').mobiscroll().datetime({
        lang: 'it'
    });

    $('#demo-japanese').mobiscroll().datetime({
        lang: 'ja'
    });

    $('#demo-korean').mobiscroll().datetime({
        lang: 'ko'
    });

    $('#demo-lietuviu').mobiscroll().datetime({
        lang: 'lt'
    });

    $('#demo-magyar').mobiscroll().datetime({
        lang: 'hu'
    });

    $('#demo-nederlands').mobiscroll().datetime({
        lang: 'nl'
    });

    $('#demo-norsk').mobiscroll().datetime({
        lang: 'no'
    });

    $('#demo-polski').mobiscroll().datetime({
        lang: 'pl'
    });

    $('#demo-portugues').mobiscroll().datetime({
        lang: 'pt-PT'
    });

    $('#demo-brasileiro').mobiscroll().datetime({
        lang: 'pt-BR'
    });

    $('#demo-romana').mobiscroll().datetime({
        lang: 'ro'
    });

    $('#demo-serbian').mobiscroll().datetime({
        lang: 'sr'
    });

    $('#demo-slovencina').mobiscroll().datetime({
        lang: 'sk'
    });

    $('#demo-suomi').mobiscroll().datetime({
        lang: 'fi'
    });

    $('#demo-svenska').mobiscroll().datetime({
        lang: 'sv'
    });

    $('#demo-thai').mobiscroll().datetime({
        lang: 'th'
    });

    $('#demo-turkce').mobiscroll().datetime({
        lang: 'tr'
    });

    $('#demo-ukrainian').mobiscroll().datetime({
        lang: 'ua'
    });

    $('#demo-vietnamese').mobiscroll().datetime({
        lang: 'vi'
    });

    $('#demo-russian').mobiscroll().datetime({
        lang: 'ru'
    });

    $('#demo-russian-ua').mobiscroll().datetime({
        lang: 'ru-UA'
    });

    $('#demo-hebrew').mobiscroll().datetime({
        lang: 'he'
    });

    $('#demo-farsi').mobiscroll().datetime({
        lang: 'fa'
    });

    $('#demo-localization-form').mobiscroll().form({
        inputStyle: 'box'
    });

});
<div style="max-width:1200px;margin:0 auto;" mbsc-page>    <div id="demo-localization-form" class="md-localization">
        <div class="mbsc-grid mbsc-form-grid">
            <div class="mbsc-row">
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-en"></span>
                        English
                        <input id="demo-english" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-ar"></span>
                        Arabic
                        <input id="demo-arabic" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-bg"></span>
                        Bulgarian
                        <input id="demo-bulgarian" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-ca"></span>
                        Català
                        <input id="demo-catala" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-cs"></span>
                        Cestina
                        <input id="demo-cestina" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-zh"></span>
                        Chinese
                        <input id="demo-chinese" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-hr"></span>
                        Croatian
                        <input id="demo-croatian" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-da"></span>
                        Dansk
                        <input id="demo-dansk" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-de"></span>
                        Deutsch
                        <input id="demo-deutsch" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-en-UK"></span>
                        English (UK)
                        <input id="demo-english-uk" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-es"></span>
                        Español
                        <input id="demo-espanol" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-fr"></span>
                        Français
                        <input id="demo-francais" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-gr"></span>
                        Greek
                        <input id="demo-greek" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-in"></span>
                        Hindi
                        <input id="demo-hindi" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-it"></span>
                        Italiano
                        <input id="demo-italiano" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-ja"></span>
                        Japanese
                        <input id="demo-japanese" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-kr"></span>
                        Korean
                        <input id="demo-korean" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-lt"></span>
                        Lietuvių
                        <input id="demo-lietuviu" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-hu"></span>
                        Magyar
                        <input id="demo-magyar" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-nl"></span>
                        Nederlands
                        <input id="demo-nederlands" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-no"></span>
                        Norsk
                        <input id="demo-norsk" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-pl"></span>
                        Polski
                        <input id="demo-polski" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-pt-PT"></span>
                        Português Europeu
                        <input id="demo-portugues" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-pt-BR"></span>
                        Pt. Brasileiro
                        <input id="demo-brasileiro" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-ro"></span>
                        Româna
                        <input id="demo-romana" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-sr"></span>
                        Serbian
                        <input id="demo-serbian" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-sk"></span>
                        Slovencina
                        <input id="demo-slovencina" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-fi"></span>
                        Suomi
                        <input id="demo-suomi" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-sv"></span>
                        Svenska
                        <input id="demo-svenska" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-th"></span>
                        Thai
                        <input id="demo-thai" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-tr"></span>
                        Türkçe
                        <input id="demo-turkce" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-ua"></span>
                        Ukrainian
                        <input id="demo-ukrainian" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-vi"></span>
                        Vietnamese
                        <input id="demo-vietnamese" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-ru"></span>
                        Русский
                        <input id="demo-russian" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-ru-UA"></span>
                        Русский (UA)
                        <input id="demo-russian-ua" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-he"></span>
                        עברית
                        <input id="demo-hebrew" placeholder="Please Select..." />
                    </label>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-4 mbsc-col-xl-3">
                    <label>
                        <span class="flag flag-fa"></span>
                        فارسی
                        <input id="demo-farsi" placeholder="Please Select..." />
                    </label>
                </div>
            </div>
        </div>
    </div>
</div>
.md-localization span.flag {
    width: 22px;
    height: 15px;
    position: absolute;
    left: 1em;
    z-index: 1;
    top: 8px;
}

.mbsc-ios .md-localization span.flag {
    top: 15px;
}

.md-localization .flag~.mbsc-label {
    margin-left: 38px;
    line-he
}

.md-localization img.flag {
    width: 30px;
}

.md-localization .flag {
    background: url(https://img.mobiscroll.com/demos/flags/flags_responsive.png) no-repeat;
    background-size: 100%;
}

.md-localization .flag-en {
    background-position: 0 93.38843%;
}

.md-localization .flag-ar {
    background-position: 0 76.033058%;
}

.md-localization .flag-bg {
    background-position: 0 9.090909%;
}

.md-localization .flag-ca {
    background-position: 0 14.876033%;
}

.md-localization .flag-cs {
    background-position: 0 21.900826%;
}

.md-localization .flag-zh {
    background-position: 0 19.008264%;
}

.md-localization .flag-hr {
    background-position: 0 38.429752%;
}

.md-localization .flag-da {
    background-position: 0 23.140496%;
}

.md-localization .flag-de {
    background-position: 0 22.31405%;
}

.md-localization .flag-en-UK {
    background-position: 0 92.561983%;
}

.md-localization .flag-es {
    background-position: 0 26.859504%;
}

.md-localization .flag-fr {
    background-position: 0 29.752066%;
}

.md-localization .flag-gr {
    background-position: 0 34.710744%;
}

.md-localization .flag-in {
    background-position: 0 40.909091%;
}

.md-localization .flag-it {
    background-position: 0 42.975207%;
}

.md-localization .flag-ja {
    background-position: 0 44.214876%;
}

.md-localization .flag-kr {
    background-position: 0 47.520661%;
}

.md-localization .flag-lt {
    background-position: 0 52.066116%;
}

.md-localization .flag-hu {
    background-position: 0 39.256198%;
}

.md-localization .flag-nl {
    background-position: 0 65.289256%;
}

.md-localization .flag-no {
    background-position: 0 65.702479%;
}

.md-localization .flag-pl {
    background-position: 0 70.661157%;
}

.md-localization .flag-pt-PT {
    background-position: 0 72.31405%;
}

.md-localization .flag-pt-BR {
    background-position: 0 11.983471%;
}

.md-localization .flag-ro {
    background-position: 0 74.380165%;
}

.md-localization .flag-sr {
    background-position: 0 74.793388%;
}

.md-localization .flag-sk {
    background-position: 0 79.752066%;
}

.md-localization .flag-fi {
    background-position: 0 27.68595%;
}

.md-localization .flag-sv {
    background-position: 0 77.68595%;
}

.md-localization .flag-th {
    background-position: 0 85.950413%;
}

.md-localization .flag-tr {
    background-position: 0 89.256198%;
}

.md-localization .flag-ua {
    background-position: 0 91.735537%;
}

.md-localization .flag-vi {
    background-position: 0 96.694215%;
}

.md-localization .flag-ru {
    background-position: 0 75.206612%;
}

.md-localization .flag-ru-UA {
    background-position: 0 10.743802%;
}

.md-localization .flag-he {
    background-position: 0 40.495868%;
}

.md-localization .flag-fa {
    background-position: 0 42.14876%;
}

Date & Time - Event hooks

Change demo
Event hooks

The date & time ships with different event hooks for deep customization. Events are triggered through the lifecycle of the component where you can tie in custom functionality and code. While users interact with the UI events like onChange, onSet, onInit ... will be triggered. Interact with the example and check the event log for the output.

For a complete list of events go to the documentation  See available lifecycle events →
Clear event log
EVENTS FIRED: 

mobiscroll.settings = {
    lang: '',
    theme: ''
};

$(function () {

    $('#demo').mobiscroll().date({
        onInit: function (event, inst) {
            // Your custom event handler goes here
        },
        onMarkupReady: function (event, inst) {
            // Your custom event handler goes here
        },
        onBeforeShow: function (event, inst) {
            // Your custom event handler goes here
        },
        onPosition: function (event, inst) {
            // Your custom event handler goes here
        },
        onShow: function (event, inst) {
            // Your custom event handler goes here
        },
        onSet: function (event, inst) {
            // Your custom event handler goes here
        },
        onItemTap: function (event, inst) {
            // Your custom event handler goes here
        },
        onDestroy: function (event, inst) {
            // Your custom event handler goes here
        },
        onClose: function (event, inst) {
            // Your custom event handler goes here
        },
        onChange: function (event, inst) {
            // Your custom event handler goes here
        },
        onCancel: function (event, inst) {
            // Your custom event handler goes here
        },
        onBeforeClose: function (event, inst) {
            // Your custom event handler goes here
        },
        onClear: function (event, inst) {
            // Your custom event handler goes here
        }
    });

    $('#show').off().click(function () {
        $('#demo').mobiscroll('show');
        return false;
    });

    $('#clear').off().click(function () {
        $('#demo').mobiscroll('clear');
        return false;
    });
});
<div mbsc-form>
    <div class="mbsc-form-group">
        <label>
            Date picker
            <input id="demo" data-label-style="stacked" data-input-style="box" placeholder="Please Select..." />
        </label>
        <div class="mbsc-btn-group">
            <button id="clear">Clear</button>
            <button id="show">Show</button>
        </div>
    </div>
</div>

Date & Time - Theming capabilities

Change demo
Theming capabilities

Customize the look and feel with themes or custom CSS. There are four levels of customization:

  • Base themes: Choose between Mobiscroll, iOS, Android Material and Windows.
  • Light or dark: Every theme has a light and dark variant.
  • Custom themes: Use the theme builder to customize the colors and make it match your brand.
  • Custom CSS: If you need further customization, the sky is the limit with CSS overrides.

You can also see how every example looks by changing the theme in the floating action bar on the right side.

mobiscroll.settings = {
    theme: '',
    lang: ''
};

$(function () {

    $('#demo-ios').mobiscroll().date({
        theme: 'ios',
        display: 'center',
        touchUi: false
    });

    $('#demo-ios-dark').mobiscroll().date({
        theme: 'ios-dark',
        display: 'center',
        touchUi: false
    });

    $('#demo-ios-custom').mobiscroll().date({
        theme: 'ios-gray',
        display: 'center',
        touchUi: false
    });

    $('#demo-material').mobiscroll().date({
        theme: 'material',
        display: 'center',
        touchUi: false
    });

    $('#demo-material-dark').mobiscroll().date({
        theme: 'material-dark',
        display: 'center',
        touchUi: false
    });

    $('#demo-material-custom').mobiscroll().date({
        theme: 'material-indigo',
        display: 'center',
        touchUi: false
    });

    $('#demo-windows').mobiscroll().date({
        theme: 'windows',
        display: 'center',
        touchUi: false
    });

    $('#demo-windows-dark').mobiscroll().date({
        theme: 'windows-dark',
        display: 'center',
        touchUi: false
    });

    $('#demo-windows-custom').mobiscroll().date({
        theme: 'windows-yellow',
        display: 'center',
        touchUi: false
    });

    $('#demo-mobiscroll').mobiscroll().date({
        theme: 'mobiscroll',
        display: 'center',
        touchUi: false
    });

    $('#demo-mobiscroll-dark').mobiscroll().date({
        theme: 'mobiscroll-dark',
        display: 'center',
        touchUi: false
    });

    $('#demo-mobiscroll-custom').mobiscroll().date({
        theme: 'mobiscroll-lime',
        display: 'center',
        touchUi: false
    });

});
<div style="max-width:1000px;margin:0 auto;" mbsc-page>    <div mbsc-form>
        <div class="mbsc-grid mbsc-grid-fixed">
            <div class="mbsc-row">
                <div class="mbsc-col-sm-12 mbsc-col-md-6">
                    <div class="mbsc-form-group-inset">
                        <div class="mbsc-form-group-title">iOS Theme</div>
                        <label>
                        Light
                        <input id="demo-ios" placeholder="Please Select..." />
                    </label>
                        <label>
                        Dark
                        <input id="demo-ios-dark" placeholder="Please Select..." />
                    </label>
                        <label>
                        Custom
                        <input id="demo-ios-custom" placeholder="Please Select..." />
                    </label>
                    </div>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-6">
                    <div class="mbsc-form-group-inset">
                        <div class="mbsc-form-group-title">Material Theme</div>
                        <label>
                        Light
                        <input id="demo-material" placeholder="Please Select..." />
                    </label>
                        <label>
                        Dark
                        <input id="demo-material-dark" placeholder="Please Select..." />
                    </label>
                        <label>
                        Custom
                        <input id="demo-material-custom" placeholder="Please Select..." />
                    </label>
                    </div>
                </div>
            </div>
            <div class="mbsc-row">
                <div class="mbsc-col-sm-12 mbsc-col-md-6">
                    <div class="mbsc-form-group-inset">
                        <div class="mbsc-form-group-title">Windows Theme</div>
                        <label>
                        Light
                        <input id="demo-windows" placeholder="Please Select..." />
                    </label>
                        <label>
                        Dark
                        <input id="demo-windows-dark" placeholder="Please Select..." />
                    </label>
                        <label>
                        Custom
                        <input id="demo-windows-custom" placeholder="Please Select..." />
                    </label>
                    </div>
                </div>
                <div class="mbsc-col-sm-12 mbsc-col-md-6">
                    <div class="mbsc-form-group-inset">
                        <div class="mbsc-form-group-title">Mobiscroll Theme</div>
                        <label>
                        Light
                        <input id="demo-mobiscroll" placeholder="Please Select..." />
                    </label>
                        <label>
                        Dark
                        <input id="demo-mobiscroll-dark" placeholder="Please Select..." />
                    </label>
                        <label>
                        Custom
                        <input id="demo-mobiscroll-custom" placeholder="Please Select..." />
                    </label>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

Looking for something you didn't see or have a sales question?
Ask us about it, we're here to help.

Component license


Purchase component licenses if you are looking for specific funcionality.

Total


All features will be included with the license.

Buy component license

Framework license


Get all 36 components, including with the Framework license.



Mobiscroll for JQuery $595


Use Javascript when building with plain and simple JS. Use jQuery when you have jQuery already included or if you are building with jQuery Mobile. Use AngularJS when building with Angular 1.x or Ionic 1. Use Angular when building with Angular 2/4/5/6/7 or Ionic 2/3/4. Use it when you are building your app or website with React.


Buy framework license
See other licensing options

Framework license


Get all 36 components, including with the Framework license.



Mobiscroll for JQuery $595


  • Use it when building with plain and simple JS
  • Compatible with vanilla JS app or frameworks like Vue
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with jQuery and jQuery Mobile
  • Enjoy the familiar API if you already use jQuery
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with Angular JS and Ionic 1
  • For web and mobile apps based on Angular 1.x
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with Angular 2/4/5/6/7 and Ionic 2/3/4
  • Visual Studio and VS Code integration
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it when building with React JS
  • Collection of UI components for web and mobile
  • Royalty-free commercial usage
  • Technical support is included with the license
Buy framework license
See other licensing options

Framework license


Select the development framework you are using. Get all 36 components with the license.

Mobiscroll for Javascript
Mobiscroll for jQuery
Mobiscroll for React
Mobiscroll for Angular
Mobiscroll for Angular JS
  • Use it when building with plain and simple JS
  • Compatible with vanilla JS app or frameworks like Vue
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with jQuery and jQuery Mobile
  • Enjoy the familiar API if you already use jQuery
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with Angular JS and Ionic 1
  • For web and mobile apps based on Angular 1.x
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with Angular 2/4/5/6/7 and Ionic 2/3/4
  • Visual Studio and VS Code integration
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it when building with React JS
  • Collection of UI components for web and mobile
  • Royalty-free commercial usage
  • Technical support is included with the license
Buy framework license
See other licensing options

Select the framework you are interested in

Javascript
jQuery
Angular
Angular JS
React

Use Javascript when building with plain and simple JS.

Use jQuery when you have jQuery already included or if you are building with jQuery Mobile.

Use AngularJS when building with Angular 1.x or Ionic 1.

Use Angular when building with Angular 2/4/5/6/7 or Ionic 2/3/4.

Use it when you are building your app or website with React.

Do you need additional support seats?

The framework license comes with one support seat. ( +$50/seat )

Add the source code?

Price
Buy now
Customize & try demos locally
Sign in or start your free trial

What framework are you using?

Javascript
jQuery
AngularJS
Angular
Ionic
React
Other
Select a framework
Email address

Customize & try this demo locally
Sign in or start your free trial

We have to set you up with a trial for this to run 👍

Email address

Customize & try demos locally
You can download and use Mobiscroll for Free

What framework are you using?

Javascript
jQuery
AngularJS
Angular
Ionic
React
Other
Select a framework
Install demo in your app
Follow this quick, two minute install guide
Close window

Step 1.Install the Mobiscroll CLI from npm

Copy command
$ npm install -g @mobiscroll/cli

The CLI makes configuring your apps super simple 👍

Step 2.Run the following command in the root folder of your Ionic project

Copy command
$ mobiscroll config ionic
$ mobiscroll config ionic --lite

You will be prompted to log in with your mobiscroll account. Set your password here

Create an Ionic 3 & Mobiscroll starter with the CLI:

$ mobiscroll start ionic myStarter

Run this command for Ionic 4 & Mobiscroll starter:

$ mobiscroll start ionic-angular myStarter

Step 3.Copy the code into your app. HTML goes into the markup, TS into Typescript.

Copy TS
Copy HTML
Copy CSS

Run ionic serve in the root folder of your app 🎉

Copy command
$ ionic serve
Thanks for downloading
Try and customize the app locally

Extract the zip file and run the project like any Ionic app. Make sure to have Ionic CLI installed and open the terminal in the app root folder.

Step 1. Run in root folder
$ npm install
Step 2. Start the app
$ ionic serve

Let us know if we can help and enjoy!

Change your password
Need to update your password? Enter and hit the button below

You are setting a password for the account

New Password Required Enter at least 6 characters
Change your password
Need to update your password? Enter and hit the button below

Your password has been changed!

Thanks for downloading
Customize demos locally

Everything is set up so that you can dig in right away and start exploring.

We have set up a trial so that you can try the demos locally.

Extract the zip file and open the demo in your favorite browser. To install Mobiscroll in your project follow instructions from this page.


Let us know if we can help and enjoy! 👍

Thanks for downloading
Customize demos locally

The demo is using an in-browser TypeScript transpiler app as its base. Extract the zip file and open the index.html on your local dev server.

You can also use live-server. For installation and usage, open a terminal window and follow these steps.

Step 1. Install live-server
$ npm install -g live-server
Step 2. Start server & run app
$ live-server

Let us know if we can help and enjoy! 👍

Thanks for downloading
Customize demos locally

Everything is set up so that you can dig in right away and start exploring.

We have set up a trial so that you can try the demos locally.

The easiest way to get started is to follow the installation steps and by grabbing the code directly from the demo page. Let us know if we can help and enjoy!

You'll find a fully functional Kitchen-sink Ionic app in the zip file.

Thanks for downloading
Customize demos locally

Everything is set up so that you can dig in right away and start exploring.

We have set up a trial so that you can try the demos locally.

The demos are using Babel's in-browser ES6 and JSX transformer. Extract the zip file and open the demo in your browser. To install Mobiscroll in your project follow instructions from this page.


Let us know if we can help and enjoy! 👍

Demos
Alerts & notifications
Alert Notifications Note
Components
Alerts & notifications 3
Buttons 4
Calendar 26
Cards 14
Color 10
Date & Time 19
Event Calendar 20
Forms 9
Grid layout 7
Image 7
Inputs & fields 6
Listview 17
Measurement 10
Navigation 8
Number 8
Numpad 13
Option List 4
Popup 10
Range 18
Scroller 7
Scrollview 5
Select 16
Slider & progress 4
Styling 6
Timer 5
Timespan 6
Toggle & Radio 4
Treelist 7
Theme Select
Mobiscroll
Mobiscroll Dark
Material
Material Dark
iOS
iOS Dark
Bootstrap
Windows
Windows Dark
Display Mode
Language Locale
See other demos and change options
Theme
Display
Locale
See other demos