cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper V
Helper V

Timezone Conversions

Hi.  I'm running into an issue with PowerApps converting my date from local to UTC.  It uses the now function and stores it in a collection.  The collection has it in local time.  When I use a patch, it converts it to UTC.  However, I have an app that uses this same data collection/patch process and it doesn't convert it to UTC.  How can I fix this so it patches it over in local time?

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Timezone Conversions

Hi @dyee4613 ,

Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned.

 

Please make sure that the Time Zone setting of your Office 365 account is in same time zone as your local time zone.

 

As an alternative solution, you could add a normal text column in your Excel table to store the Date time value instead of using Date type column, then try your formula again, check if the issue is solved.

 

If the issue still exists, please consider re-create your Excel table, and re-generate an app based on your Excel table, try your Patch formula again, check if the issue still exists.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Highlighted
Community Support
Community Support

Re: Timezone Conversions

Hi @dyee4613 ,

Could you please share a bit more about the issue within your app?

Do you patch the date time into your data source using Patch function?

 

Actually, when working date times within PowerApps, the date time value would be converted into UTC format automatically.

E.G. When you patch a date time (in your local time zone) value into a SP list, the date time value would be converted into a UTC format firstly, then pass it to your SP list. Within your SP list, the UTC format time value would be converted into the Time Zone format your SP Site set to.

In other words, if the Time Zone format of your SP Site is the same as your local time zone, the date time value stored in your SP list would be the same as that collected in your app.

 

Please check if the Time Zone of your data source is set to UTC. if the issue still exists, please consider take a try to re-create a new app based on your data source, then try it again, check if the issue is solved.

 

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Helper V
Helper V

Re: Timezone Conversions

@v-xida-msft 

 

Sure.  What information do you need? After it stores the date in the collection, it patches to my data source which is an excel file.  I'm not sure how I would go about converting the time. 

Highlighted
Community Support
Community Support

Re: Timezone Conversions

Hi @dyee4613 ,

Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned.

 

Please make sure that the Time Zone setting of your Office 365 account is in same time zone as your local time zone.

 

As an alternative solution, you could add a normal text column in your Excel table to store the Date time value instead of using Date type column, then try your formula again, check if the issue is solved.

 

If the issue still exists, please consider re-create your Excel table, and re-generate an app based on your Excel table, try your Patch formula again, check if the issue still exists.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (3,436)