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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Adaptive Card Return D...
Power Automate
Unanswered

Adaptive Card Return Date/Time to "o" formatting?

(0) ShareShare
ReportReport
Posted on by 3

Hello-

 

Is there a way to return the date & Time inputs from an adaptive card using Input.date & Input.time to a format like roundtrip "o" that makes the response usable in an flow?

 

I have a card going to a user where they input a message and then input time and date they want to message to go out. I want to use the time and date responses in a Delay Until step but cannot figure out how to get the formatting right.

FlowWo_0-1671565526235.png

 

TIA

Categories:
I have the same question (0)
  • Verified answer
    Amit_Sharma Profile Picture
    1,569 Super User 2024 Season 1 on at

    Hi @FlowWo 

    I have created sample for you

     

    1.

    Amit_Sharma_0-1671614735916.png

    {
     "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
     "type": "AdaptiveCard",
     "version": "1.0",
     "body": [
     {
     "type": "ColumnSet",
     "columns": [
     {
     "type": "Column",
     "width": 2,
     "items": [
     {
     "type": "TextBlock",
     "text": "Enter Date And Time",
     "weight": "Bolder",
     "size": "Medium"
     },
     
     {
     "type": "TextBlock",
     "text": "Please Enter Date",
     "wrap": true
     },
     {
     "type": "Input.Date",
     "id": "myDate",
     
     },
     {
     "type": "TextBlock",
     "text": "Please Enter Time",
     "wrap": true
     },
     {
     "type": "Input.Time",
     "id": "myTime",
     
     }
     ]
     }
    ]
    }
    ],
     "actions": [
     {
     "type": "Action.Submit",
     "title": "Submit"
     }
     ]
    }

     

    2.

    Amit_Sharma_1-1671614777570.png

     

    3.

    Amit_Sharma_2-1671614796971.png

    convertToUtc(outputs('Compose'),'Pacific Standard Time')

     

    4.

    Amit_Sharma_3-1671614846535.png

     

     

    -------------------------------------------------------------------------
    If I have answered your question, please mark post as Solved.
    If you like my response, please give it a Thumbs Up.

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard