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

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

@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

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

@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
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.

Users online (11,755)