BoltCM

Sophisticated, Lightweight and Simple

Jump to docs navigation
Edit on GitHub

Field types » Datetime field

Datetime picker widget, to select a date and a time.

Basic Configuration:

        eventdate:
            type: datetime

Example usage in templates:

{{ record.eventdate }}

Options:

The field has a few options to change the appearance and functionality of the field.

        eventdate:
            type: datetime
            options:
                datetimepicker:
                    changeMonth: true
                    changeYear: true
                    yearRange: "-100:-0"

Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on IRC.
Spotted a typo, or have something to add? Edit this page on GitHub.