Date picker for standard text box

Modified on Thu, Oct 7, 2021 at 10:21 AM

Add an ‘attribute’ command to any block of type textline with the following value:

type="date"

This is compatible with most new browsers (html 5 feature)


Other Pickers:

Date and Time picker

type="datetime-local"

Month/Year picker

type="month"

Week / Year picker

type="week"

Time picker

type="time"

Color picker (#xxxxxx)

type="color"

Local Time
 type="datetime-local

You can add a start date by using the below code 

type="date" min="2021-01-01" max="2022-01-01" 

 

Examples

month

date

Graphical user interface, application

Description automatically generated

Calendar

Description automatically generated

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article