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 / Power Automate / Date output a day befo...
Power Automate
Unanswered

Date output a day before the chosen date from Adaptive Card form

(0) ShareShare
ReportReport
Posted on by Super User 2024 Season 1

Hi there,

 

I have seen other similar threads about the date conversion and seems like there is something weird going on around.

 

On my PVA my adaptive card has a formula to convert string to date which is : 

Text(Topic.PurchaseDate)
 
On my Power Automate flow I have the following set up:
2023-08-08 13.43.28 make.powerautomate.com b4becfdc68b0.png

Where the Compose 2 set up is: 

formatDateTime(outputs('Compose'),'dd/MM/yyyy', 'en-GB')
 
Even so, my output date is always a day before the chosen date from the Adaptive Card form.
 
If I choose the date to 01/08/2023
The output that comes through is:
2023-08-08 16.30.45 outlook.office.com d8bd8bf8bd79.png

 

Any help will be appreciated.
 
Kind regards,

Fernando
Categories:
I have the same question (0)
  • fernandosilva Profile Picture
    Super User 2024 Season 1 on at

    Anyone in the community to share any experience with the adaptive card/date/output?

     

    Thank you.

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @fernandosilva ,

     

    Could you please go into one run history of the flow, checking the outputs in Compose and Compose2?

     

    Best regards,

  • fernandosilva Profile Picture
    Super User 2024 Season 1 on at

    Hi @v-jefferni ,

     

    Sure, see below both compose connectors with the values.

    Since the 1st of August was chosen, I'm not sure why it's output 31st of July.

     

    2023-08-09 09.01.24 make.powerautomate.com c9f2e4a5967c.png

     

    Cheers ,


    Fernando

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @fernandosilva ,

     

    You can see "31/07/2023" is the value passed to your flow from the Adaptive Card. So, the question now becomes how you custom the adaptive card. Could you please share more details?

     

    Best regards,

  • fernandosilva Profile Picture
    Super User 2024 Season 1 on at

    Hi @v-jefferni ,

     

    My Adaptive Card date picker is set as follow:

     

     {
     "type": "Input.Date",
     "label": "Device purchase date",
     "id": "PurchaseDate",
     "style": "text",
     "isRequired": true,
     "errorMessage": "Purchase date is required"
     },

     

    If you need more details from the Adaptive Card, please let me know.

     

    Cheers,

     

    Fernando

  • fernandosilva Profile Picture
    Super User 2024 Season 1 on at

    Hi All,

     

    Have anyone here found a solution for the date bug?

     

    Cheers,

     

    Fernando

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 258 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 198 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 136 Super User 2026 Season 2

Last 30 days Overall leaderboard