web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / How to Use Date Picker...
Copilot Studio
Suggested Answer

How to Use Date Picker Control and Extract Dates from Sentences in Copilot Studio Chatbot for Teams

(1) ShareShare
ReportReport
Posted on by
Hi everyone,
I'm working on a chatbot using Copilot Studio for Microsoft Teams and had a couple of challenges I wanted to get help with:
Date Picker Control (non-adaptive card):
Is there a way to show a date control (calendar-style picker) when asking the user to select a date, without using Adaptive Cards? For example, when the bot asks "Please select a start date," I want the user to see a native Teams date picker or similar UI control.
 
Date Extraction from Sentences:
I'm trying to extract dates from user messages like:
"I want to apply annual leave from 20 APR to 22 APR"
The leave type "annual leave" is being detected correctly, but the bot doesn't seem to recognize the dates properly. Instead, it keeps prompting the user to enter "From Date" and "To Date" again manually.
Is there a way to improve date entity recognition in such sentences?
Are there any pre-built models or suggested configurations to extract date ranges effectively?
Any tips or guidance on how to enhance date handling and improve user experience would be really appreciated!
Thanks in advance!
Tahir
I have the same question (0)
  • Suggested answer
    DuaS. Profile Picture
    198 Moderator on at
    Hey,

    In Copilot Studio, there’s no native Teams date picker without using Adaptive Cards — which is the recommended way for a calendar-style date selection. The built-in Date and Time entity can only capture one date at a time and struggles with natural phrases like "from 20 Apr to 22 Apr".

    Suggestions:

    ✅ Use Adaptive Cards for a user-friendly date picker

    ✅ Use regex expressions in Copilot custom entities or Power Automate to extract two dates separately, e.g.:

    (\d{1,2}\s?[A-Za-z]{3,9})

    ✅ Use AI Builder with a prompt like:

    "Extract the from and to dates from this sentence"

    Then split the result and save each date in variables for further use.
     
    If this answer helped you in any useful way please mark it as verified so others can benefit from it too.
    Best Regard,
    Dua
  • CU22040737-0 Profile Picture
    2 on at
    Hey, 
     
    Thanks for the reply so its mean we can capture dates only using adaptive card , also one more thing can we bind our drop down list fetching data from API , like a list of employee. city , etc. (I don't want to use power automate)
     
     
    Thanks
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 586

#2
chiaraalina Profile Picture

chiaraalina 170 Super User 2026 Season 1

#3
deepakmehta13a Profile Picture

deepakmehta13a 118

Last 30 days Overall leaderboard