Date/time picker element
This core reference entry is suited for beginner-level builders.
Learn more about experience levels.
To learn about this topic more in-depth, we recommend reading the suggested articles below:
Input forms
Article: Input forms
Other element categories In this article series, we cover how to work with different element types:
Article series: Elements
Article series: The element hierarchy
Article: The page
Article series: Container elements
Elements that contain other elements.
Article: Visual elements
Elements like text, buttons, icons and images.
Article: Conditional expressions
Making your elements change appearance in response to varying conditions.
The design tab In this article we cover the different tools available in the design tab.
Article: ´The design tab
Workflows
Workflows are used to connect elements with actions, such as saving the value of a text input element or uploading a file.
Article series: Workflows
Design
Article series focusing on design in general, explaining terminology and offering resources to help you set up a user-friendly, good looking design.
Article series: Design
Article: Responsive design Building pages that work on all devices, such as a laptop and a phone.
Previewing your app
In this section about how to preview your app in the development environment.
Article: Previewing your app
Bubble Academy: How to Use The Input Element Bubble Academy: How to Use The Mulitline Input Element Bubble Academy: How to Use the Slider Input Bubble Academy: Element videos (list of videos related to elements)
Connecting elements to workflows
Bubble Academy: How to Trigger Workflows From Input Changes
Allows users to select a date, a time, or both. The element appears as an input field -- or two fields if both date and time are enabled. When the date field is focused, a calendar opens for the user to pick a date. If time selection is enabled, the time is entered in the second field.
Visual
Content
Input type
Sets which value the element should collect. Date shows a single input with a calendar picker. Date and time shows two inputs -- one for the date (picked from a calendar) and one for the time (typed into a field).
Auto-binding automatically updates a thing as the user modifies the input element, without requiring a workflow. Enable this option to bind the input element directly to a field on a thing. For auto-binding to work:
The input element must be inside a group or page with a defined Type of content
The parent group's (or page's) thing is the record that will be modified
The relevant data type must have the correct edit permissions configured in the Privacy section of the Data tab
If privacy rules don't allow the change, the update won't be applied, and the user will see an error message. You can edit the error message
This property offers the following options:
Off: Auto-binding is disabled.
On: Auto-binding is enabled. Setting it to On reveals two additional properties:
Field to modify: The field on the parent element's data type that you want to modify.
Alert on success: A customized alert message displayed when the data is successfully saved. For this to work, you need at least one alert element on the page.
Initial content
Sets the default date/time.
Size
Sets the width and height of the element. These properties depend on the layout configuration of the parent element.
Height
Sets the width/height of the element. The column, row and align layouts have a more flexible way to set element position.
Fixed
Sets the width of the element as a fixed value.
Pixels: sets the width to a fixed pixel value
Percentage: sets the width to a percentage of the parent container
Fit
The element’s width and height automatically adjust based on the size of its child elements. To add a mininum and/or maximum value, click the + symbol.
Min: the minimum width/height, defined as a pixel value or percentage of the parent container.
Max: the maximum width/height, defined as a pixel value or percentage of the container.
Fill
The element's width and height fills the available space in the parent container. To add a mininum and/or maximum value, click the + symbol.
Min: the minimum width/height, defined as a pixel value or percentage of the parent container.
Max: the maximum width/height, defined as a pixel value or percentage of the container.
Parent container has a fixed layout
Width/height
Sets the widht/height of the element. The fixed layout has a more rigid way of setting element size, based on static pixel values.
Fixed
Sets the width of an element as a fixed pixel value.
Layout
Position
Parent layout: Column
In a column layout, a child element's property is restricted to the vertical axis.
Left
Elements are aligned to the left edge.
Center
Elements are aligned to the vertical center of the container.
Right
Elements are aligned to the right edge.
Parent layout: Row
In a row layout, a child element's alignment property is restricted to the horizontal axis.
Top
Elements are aligned to the top edge of the container
Center
Elements are aligned to the horizontal center of the container.
Bottom
Elements are aligned to the bottom edge of the container.
Parent layout: Align
In an align layout, a child element's property is restricted to one of nine cells in a 3x3 grid. Any element placed within the same cell will overlap.
Top-left
Elements are aligned to the top-left corner of the container.
Top-center
Elements are aligned to the top edge and horizontally centered within the container.
Top-right
Elements are aligned to the top-right corner of the container.
Center-left
Elements are vertically centered and aligned to the left edge of the container.
Center
Elements are vertically and horizontally centered within the container.
Center-right
Elements are vertically centered and aligned to the right edge of the container.
Bottom-left
Elements are aligned to the bottom-left corner of the container.
Bottom-center
Elements are aligned to the bottom edge and horizontally centered within the container.
Bottom-right
Elements are aligned to the bottom-right corner of the container.
Parent layout: Fixed
Elements are positioned using fixed X and Y coordinates, defined in pixels.
Order
Sets the order of the element in the element tree hierarchy.
Make first: Moves the element to the top of the hierarchy within its container
Move up: Moves the element one position higher
Move down: Moves the element one position lower
Make last: Moves the element to the bottom of the hierarchy within its container
Spacing
Padding
Defines the internal spacing between an element’s content and its border in a static pixel value. Padding adds space inside the element, without affecting its position relative to other elements.
Padding is added on the vertical and horizontal axis respectively.
Margin
Defines the external spacing between an element and surrounding elements.
Margin adds space outside the element’s border. It affects the distance between elements and influences layout positioning.
Configure
Date format
Sets how the date appears in the input field. This affects display only, not how the value is stored. Selecting Custom reveals an additional property:
Custom format: lets you display the date and time using a custom format. See the custom date formatting guide below for instructions.
Custom date formatting
The date/time picker supports custom date and time formats using tokens -- short letter combinations that represent parts of a date or time. Combine tokens to create your desired format.
For example:
MM/DD/YYYY→ 04/27/2026DD/MM/YYYY→ 27/04/2026MMMM D, YYYY→ April 27, 2026HH:mm→ 17:30hh:mm A→ 05:30 PM
Common format tokens
YYYY
Four-digit year
2026
MM
Month with leading zero
04
M
Month without leading zero
4
DD
Day with leading zero
09
D
Day without leading zero
9
HH
24-hour format (00-23)
17
hh
12-hour format (01-12)
05
mm
Minutes
30
A
AM/PM
PM
Start week
Defines whether the calendar starts on Sunday or Monday.
Date constraints
Restricts which dates can be selected by setting a start date and end date.
Dropdown for month/year
Adds dropdown menus to quickly select a different month or year in the calendar.
Time format
Sets how time is displayed: 24-hour or 12-hour am/pm.
Time interval
Defines the step between selectable times in minutes (for example, 30-minute increments).
Time constraints
Restricts which times can be entered by setting minimum and/or maximum limits.
Style
Style sets the visual design of the element, including properties such as colors, fonts, borders, shadows and other appearance settings.
Styles are shared across elements. When multiple elements use the same style, updating the style will automatically update all elements that reference it.
Style selector

Select the style to apply to the selected element.
Edit style
To edit the style, click the edit style icon. The changes to that style will apply to all elements using that style.
Detach style
Detaching the style will disconnect the element from the current style, but keep the formatting of the style until you make changes to it. This only affects the selected element.

Overriden styles
You can override a style on one or more elements, using the defined style properties but allowing you to make individual changes to styling properties that apply only to the selected element(s).
Overridden styles will be marked with an Overridden labelI.

You can reset the selected element's style by clicking the Reset icon.

Appearance
Opacity
Opacity sets the transparency level of the selected element(s). At 100%, the element is fully opaque. At 0%, it is fully transparent (invisible).
Opacity affects child elements: If applied to a container, all child elements inherit the same opacity level.
Opacity does not collapse the element: Even at 0%, the element still occupies space in the layout. Unlike hiding an element (using This element is visible on page load, a conditional visibility rule, or a hide/show action), opacity does not reduce the element’s width or height to zero.
Radius
Sets the roundness of the selected element(s).
Individual radius
To set an individual radius of each of the four corners, click the Individual radius icon.

Border
The border defines the outline of the selected element.
It is drawn around the element’s content and padding. Increasing the border width increases the total visible size of the element unless the layout system compensates for it.
Borders sit outside the padding but inside the margin. Padding adds space between the content and the border, while margin adds space outside the border, affecting the distance to neighboring elements.
Border width
Sets the width of the border, defined by a pixel value.
Border color
Sets the color of the border in a hex value. You can also set the opacity of the border. Can be a static or the result of a dynamic expression.
Individual borders
To set individual border properties on the top, bottom, left and right, clitk the individual border icon.

Background
Sets the background of the selected element(s) as a color, gradient or image.
Color
Sets the background color in a hex value. You can also set the opacity of the border. Can be a static or the result of a dynamic expression.
Gradient
Sets a gradient color, ranging from a start color and an end color, with an optional mid color.
Image
Sets an image as the element's background. The image can be a static file uploaded directly in the editor, or the result of a dynamic expression.
Upload
Upload a static image file to use as the background.
Generating an image with AI
You can generate images with AI. Type in a prompt and select a size, quality, and style. The Auto setting lets the AI choose based on your prompt. The number of tokens used depends on your selections.
Check Generate Alt tags to automatically generate an Alt text.
Make dynamic
Click the + icon to define a dynamic expression that returns the image to use as the background.
Text
Sets the typography of the selected element(s). Only applies to elements that contain text.
Font
Sets the font family used for the text. You can choose a custom font or use a saved font variable.
Font weight
Sets the thickness of the text. Lower values (for example, 400) are lighter, while higher values (for example, 600 or 700) appear bolder.
Font size
Defines the size of the text in pixels.
Text alignment
Controls how text is aligned within the element: left, center, or right.
Text formatting
Applies inline formatting options such as bold, italic, and underline. Click the More properties icon for more formatting options.

Text color
Sets the color of the text. You can select a custom color or use a saved color variable.
Shadow
Adds an outside or inside shadow to the selected element(s).
Shadow type
Defines whether the shadow appears outside or inside the element.
Outside: creates a drop shadow around the element.
Inside: creates an inner shadow within the element’s boundaries.
Position (X / Y)
Sets the horizontal (X) and vertical (Y) offset of the shadow in pixels.
Positive X moves the shadow to the right; negative X moves it to the left.
Positive Y moves the shadow downward; negative Y moves it upward.
Blur
Controls how soft the shadow appears. Higher values create a more diffused shadow; lower values produce a sharper edge.
Spread
Defines how much the shadow expands or contracts before blur is applied. Positive values increase the shadow’s size; negative values reduce it.
Color
Sets the shadow’s color and opacity. You can define a custom color (for example, a hex value) and adjust its transparency percentage.
Interaction
Options
Visibility
Visible on page load
Enable this to make the element visible by default. This checkbox makes the element visible every time the page loads or reloads. Change the visibility of the element based on certain conditions in the Conditional section in the property editor or with a show/hide element action in a workflow.
Collapse when hidden
Enable this to make the element collapse its height and width to 0 pixels when hidden. This allows surrounding elements to automatically shift into the freed space, preventing empty gaps in the layout.
This is commonly used in single-page applications, where elements are shown and hidden dynamically as users navigate, without leaving the page.
Make required
When enabled, the user can't trigger any workflows tied to the date/time picker if its value is empty.
Make disabled
Disables the date/time picker so the user can't interact with it.
Disabling an element is a UI setting and doesn't securely prevent data changes. Always enforce restrictions with server-side conditions and privacy rules in the Data tab.
Transitions
Transitions add animation when a style property changes.
Instead of updating instantly, the element gradually shifts from its previous state to the new one over a defined duration. For example, if you reduce an element’s width, a transition can make it smoothly shrink rather than change size immediately.
Transition duration
Transition duration defines how long the transition animation runs, measured in milliseconds.
Workflows
Shows the workflows connected to the selected element. Click the + symbol to create a new workflow associated with that element. The list of available events differs based on which element is selected.
Time zone selection
Determines which time zone the date/time picker uses. By default, it uses the user's local time zone as defined by their browser. Switching to Static choice reveals an additional property:
Time zone ID: lets you select a specific time zone from the full list of global time zones.
Last updated
Was this helpful?
