cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
picnicfunL
Level: Powered On

How to keep original time

The time shows on the list: 10/7/2019 11:43 AM 

Capture2.PNG

Flow: using formatDateTime expression:

formatDateTime(triggerBody()?['xxxTime'],'MM/dd/yyyy h:mm:ss')

Capture3.PNG

Result: 10/07/2019 4:43:00, it automatically convert to UTC.

Capture.PNG

 

The result I want: 10/7/2019 11:43 AM ( don't change the timezone, just shows as original time)

Also, all people's input time depends on their own time zone, so I can't determine the source timezone, can't use convertimezone expression. What can I do?

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: How to keep original time

@picnicfunL 

All Flow dates and times are in UTC.  If you are using SharePoint, SharePoint stores all dates/times in UTC - they are converted to the timezone set for th site when displayed.  You need to use one of the time zone conversion expressions or action if you want to see the date/time in your time zone.  If your issue is with an approval email, you have no control over the time zone displayed.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

3 REPLIES 3
Super User
Super User

Re: How to keep original time

@picnicfunL 

All Flow dates and times are in UTC.  If you are using SharePoint, SharePoint stores all dates/times in UTC - they are converted to the timezone set for th site when displayed.  You need to use one of the time zone conversion expressions or action if you want to see the date/time in your time zone.  If your issue is with an approval email, you have no control over the time zone displayed.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

picnicfunL
Level: Powered On

Re: How to keep original time

Hi @ScottShearer 

 

Thanks for your answer, I have one more question: the timezone set for the site when displayed, so it means if people input date in the same site/list, all the time is display at the same timezone, right? 

 

 For example, I live on the west coast and input 11:40 am, and my co-worker lives on the east coast, both us will see the same time 11:40 am, because we using the same site?

Highlighted
Super User
Super User

Re: How to keep original time

@picnicfunL
You are correct
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,828)