cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
picnicfunL
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
ScottShearer
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
ScottShearer
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

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?

@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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Users online (91,230)