cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

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
Highlighted
Super User III
Super User III

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
Highlighted
Super User III
Super User III

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

Highlighted
Frequent Visitor

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 III
Super User III

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
FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (7,326)