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 Automate
Answered

Todays Date

(0) ShareShare
ReportReport
Posted on by 728

Hi

 

I have a flow where a new response from an MS Form is added to an excel spreadsheet.  One field in the excel is a date field and i am looking to get the date the form was submitted.  In the format dd/mm/yyyy

 

I have added 2 actions:

 

Current time

 

Convert time zone:

 

neill_long_0-1710928260708.png

And on the Add a row into a table, the Date Submitted field has the dynamic content from the convert time zone action.

 

However, when the flow is run, the date is coming out wrong:

 

neill_long_1-1710928350939.png

I'm guessing it is assuming the mm is the minutes and not the month.  How can i fix this so it would display 03 instead of 46?

 

thanks

Categories:
  • Verified answer
    CFernandes Profile Picture
    8,504 Most Valuable Professional on at

    Hey @neill_long Please use MM instead of mm.

     

    mm means minutes.

    MM means months.

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

  • Chriddle Profile Picture
    8,729 Super User 2026 Season 2 on at

    I recommend setting the date display settings in Excel.

  • ThxAlot Profile Picture
    22 on at

    Just a side note: in general you can use convertFromUtc() / convertTimeZone() expression to achieve the same result in a more concise way. 

  • Chriddle Profile Picture
    8,729 Super User 2026 Season 2 on at

    This isn't about time zones, it's about formatting the date.
    The OP simply uses the connector to convert the timezone since UTC and GMT are the same.

    Probably formatDateTime() would be better.

     

    He's probably also writing incorrect data into his Excel.

     

    When you write dates with the format string "dd/MM/yyyy" into an Excel column formatted as a date, there are two possible results:

    1. Something like “02/03/2024”: This is saved as February 3, 2024.
    2. Something like “20/03/2024”: This is not a valid date and is saved as a string in Excel (not date)

    The correct way is not to format the date in Power Automate, but to use Excel settings to display the date as desired.

  • neill_long Profile Picture
    728 on at

    the column in the spreadsheet was already set as a date column. the issue was that i was using mm instead of MM.

     

    It's working fine for me now but thank you for your response

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 244

#3
Henil Profile Picture

Henil 102

Last 30 days Overall leaderboard