Hi,
I've been browsing the forum for quite sometime but yet found a solution to my issue, hope someone can help:
1. Have a sharepoint list with 2 date/time picker (i.e. '1st Appointment' & 'Next/Last Appointment')
2. Had changed my regional settings to local time (i.e. Kuala Lumpur/Singapore)
3. Tried applying 'timezone converter' but didn't work (maybe because it is 2 dates/time instead of 1?)
Here's quick snapshots of my flow
Details ('1st Appointment' & 'Next/Last Appointment' needs to be in this email, but time is always inaccurate.
I've also another flow that has the same issue with timezone
Solved! Go to Solution.
Hi @jeretangwk
Thank you for posting.
According to your description, you couldn’t return accurate time while using flow. If any misunderstanding, please kindly let me know.
I believe there is nothing to do with amount of date type column. The issue is caused by timezone conversion. If your datetime has a ‘Z’ at the end, it means it's in UTC time.
For example: 2020-04-10T01:28:14.0406387Z
Thus, we need to convert it manually using ‘convert time zone’ action or convertTimeZone function.
So seems you are located in UTC+8 region, we can try:
convertTimeZone(item()?['First_x0020_Appointment'],'UTC','Pacific Standard Time')
Here is my test process for your reference:
List:
Flow:
Output:
https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings
https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones
Hope the content above may help you.
Best regards,
Anna
Hi @jeretangwk
Thank you for posting.
According to your description, you couldn’t return accurate time while using flow. If any misunderstanding, please kindly let me know.
I believe there is nothing to do with amount of date type column. The issue is caused by timezone conversion. If your datetime has a ‘Z’ at the end, it means it's in UTC time.
For example: 2020-04-10T01:28:14.0406387Z
Thus, we need to convert it manually using ‘convert time zone’ action or convertTimeZone function.
So seems you are located in UTC+8 region, we can try:
convertTimeZone(item()?['First_x0020_Appointment'],'UTC','Pacific Standard Time')
Here is my test process for your reference:
List:
Flow:
Output:
https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings
https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones
Hope the content above may help you.
Best regards,
Anna
Hi Anna,
The method does not seems to work with my other flow
I've create HTML table after 'Get items'
I've got this error message
Would you be able to help me out on this? Thank you!
Hi @jeretangwk
Thank you for your attempts.
Please help to confirm you select 'value' of 'get items' in from area in 'create html table'.
Meanwhile, we should input formula in expression area in dynamic content interface.
Hope it helps.
Thanks
Anna
Hi Anna,
I've attempted as you suggested (not sure if done correctly) but got back the same error
Steps i've attempted
Maybe I am getting the wrong value in?
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
4 | |
4 | |
3 | |
2 | |
2 |
User | Count |
---|---|
14 | |
11 | |
8 | |
6 | |
6 |