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 / Datetime to Text actio...
Power Automate
Answered

Datetime to Text action changes the date

(0) ShareShare
ReportReport
Posted on by 7

Hi all,

 

I'm having trouble with the 'Datetime to text' action. I pull in a date (as text) from an application :

NthakoT_0-1716167416786.png

I then convert to DateTime, and subtract 2 minutes.

NthakoT_1-1716167781440.png

Now I want to populate the ResultedDate back to the app, but the date changes when I I populate on the app or even when I display it on a pop-up message. I tried to convert to text but it still changes:

NthakoT_2-1716168139793.png

after converting the date now looks like this:

NthakoT_3-1716168200554.png

I dont want it to change and I do not know how to fix this. please help

I have the same question (0)
  • VishnuReddy1997 Profile Picture
    2,656 Super User 2026 Season 1 on at

    Hi @NthakoT ,

     

    I dont what the final required format for you to appload to the website. But you just sole the above issue just by using Custom option while your converting to text as shown in below images.

    VishnuReddy1997_0-1716171374319.png

    Write the required format in Customat Format which ever your looking for .In your case i think the problem is with the Date and month .Just use yyyy/MM/dd HH:MM or yyyy/dd/MM HH:MM format in Custom.It will solve your issue.

     

    (Note:- if you got your solution you can mark as solution and gives kudos)


    Thanks & Regards

    Vishnu Reddy

     

  • NthakoT Profile Picture
    7 on at

    I tried that and I'm still getting the same issue:

    NthakoT_0-1716219074228.png

     

  • Verified answer
    VishnuReddy1997 Profile Picture
    2,656 Super User 2026 Season 1 on at

    Hi @NthakoT ,

     

    When your creating a flow,you have enabled the Power FX option.Power Fx in power automate is still in preview state,so we dont recommend it to use in production. So please disable the Power Fx as shown in Image and Start creating the same flow it will work.

     

    VishnuReddy1997_0-1716222032127.png

     

    (Note:- if you got your solution you can mark as solution and gives kudos)


    Thanks & Regards

    Vishnu Reddy

  • NthakoT Profile Picture
    7 on at

    It worked without Power FX. 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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 1,027

#2
Valantis Profile Picture

Valantis 809

#3
Haque Profile Picture

Haque 645

Last 30 days Overall leaderboard