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 / Patch or Collect UTC T...
Power Apps
Answered

Patch or Collect UTC Time Zone

(0) ShareShare
ReportReport
Posted on by 42

We have an Azure database that is based on UTC time zone.   We also have users from 5 different time zones all over the world working and patching data from Powerapps to that database.    

 

The Now() function patches the local time zone from user's laptop which is unmanageable.  We want to patch the UTC time zone which will be patched to a datetime column so converting to text is not an option.  

 

Any help is greatly appreciated.

Categories:
I have the same question (0)
  • Sundeep_Malik Profile Picture
    6,486 on at

    Hey @loraDallas 

     

    By the following formula you would be able to get the time in utc. Then you can just patch it in your database.

     

    Text(Now(),DateTimeFormat.UTC)

     

     

    Sundeep_Malik_0-1669053031207.png

     

    I hope this helps. 🙂

     

    If I answered your question, you can accept it as the solution. And also give thumbs up. 🙂

     

  • loraDallas Profile Picture
    42 on at

    Hello @Sundeep_Malik ,

     

    Thank you for your reply, but the database column in table is a datetime field and cannot patch a text string to this field.  

     

     

  • loraDallas Profile Picture
    42 on at

    Hello @Sundeep_Malik ,

     

    Thank you for your reply, but the database column in table is a datetime field and cannot patch a text string to this field.

  • Verified answer
    Sundeep_Malik Profile Picture
    6,486 on at

    @loraDallas 

     

    Check this blog, if it helps:

     

    https://powerapps.microsoft.com/gl-es/blog/working-with-datetime-values-in-sql/

  • Verified answer
    loraDallas Profile Picture
    42 on at

    Ending up finding the following code:

     

    DateAdd( Now(), TimeZoneOffset(), Minutes ) which converts any local time to UTC.  

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 542 Most Valuable Professional

#2
Haque Profile Picture

Haque 206

#3
Kalathiya Profile Picture

Kalathiya 201 Super User 2026 Season 1

Last 30 days Overall leaderboard