Typebot Docs home page
Search...
⌘K
Github
Dashboard
Dashboard
Search...
Navigation
Inputs
Date
Learn
Self-Hosting
Contribute
API Reference
Community
Get Started
Welcome
Creating a typebot
Flow
Graph
Blocks
Overview
Bubbles
Inputs
Text input
Number
Email
Website
Date
Phone
Buttons
Picture choice
Payment
Rating
File upload
Logic
Integrations
Variables
Publish
Share
Context menu
Export / Import a typebot
Theme
Overview
Settings
Overview
Deploy
Web
WhatsApp
Results
Overview
Analytics
Workspace
Overview
Add members and guests
Subscription
User preferences
Guides
Add a subscriber to MailerLite
Dynamic avatars
Enable RTL
Forward UTM parameters to a typebot
Misc
FAQ
Privacy & Security Policies
Report Abuse
Breaking changes
On this page
Format
Inputs
Date
The Date input block allows you to ask your user for a date. You can ask for a specific date or range and include time:
Flow
Bot
The input will use the native date picker depending on the device and browser used to answer the bot. For example on Firefox it looks like this:
Format
The
Format
setting lets you customize the picked date format. Under the hood, it is done using the
date-fns
library. You can use any of the
formatting tokens
supported by the library.
Here are some examples:
Copy
yyyy-MM-dd
yyyy-MM-dd HH:mm:ss
dd/MM/yy
dd/MM/yyyy HH:mm:ss
d.MM.yy
Suggest edits
Website
Phone
Assistant
Responses are generated using AI and may contain mistakes.