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 Apps / Struggle to Set Date O...
Power Apps
Answered

Struggle to Set Date Only Field in flow for Current Date

(1) ShareShare
ReportReport
Posted on by 9,287 Most Valuable Professional

Hi Experts,

 

I struggle with this regularly and happening right now in a flow.  I have a table that has a "Date Only" field in Dataverse called Registration Date.  I am running a flow right now to set this date and it is 8/1/2021 at 8:37 am Central Standard Time.   I have an expression setup to set this date but it is setting to 7/31/2021 vs. 8/1/2021.  

 

convertFromUtc(utcNow(),'Central Standard Time','MM/dd/yyyy')
 
Any idea what I am doing wrong here?  
 
Thanks much,
 
Drew
I have the same question (0)
  • Verified answer
    ChrisPiasecki Profile Picture
    6,422 Most Valuable Professional on at

    Hi @dpoggemann,

     

    Is the Behaviour of the Date column set to User Local? The problem is that in your flow you're not including the time portion in the date formatter. Therefore it will be saved as midnight in UTC, then timezone converted due to the user local behavior setting, making it the previous day.

     

    Try removing the formatter string from the expression so it uses the default "o" format which includes the time. Dataverse will take care of storing it correctly and the client apps will take care of the timezone and displaying correctly. 

     

    ---
    Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @ChrisPiasecki ,

     

    That was it, thanks so much!  I modified to 

    convertFromUtc(utcNow(),'Central Standard Time','MM/dd/yyyy hh:mm:ss')
     
    and it worked perfectly.  I even subtracted 13 hours from now to prove it would till work in the formula as a test and it did.  
     
    Thanks,
     
    Drew

     

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 545 Most Valuable Professional

#2
Haque Profile Picture

Haque 314

#3
Kalathiya Profile Picture

Kalathiya 234 Super User 2026 Season 1

Last 30 days Overall leaderboard