'Specify if AM/PM Time - 'Create a Teams meeting' Power Autoamte Flow
I have spent the whole day trying to figure this out. I have even been crawling all over the web but I just can't seem to find an answer.
What I am trying to do is much like the actual Outlook calendar meeting creation experience. You explicitly select your meeting to either start at 2:45 AM or 2:45 PM. Then once the invite gets sent, Outlook just automatically add or subtract from the meeting hours based on the attendees timezone. However, whenever I run the flow meeting start time is not showing as intended in my calendar.
I have been unsuccessfully playing around with the 'Start Time' and 'End Time' flow fields using the 'utcNow' expression. The below code is just one of those unsuccessful instances:
formatDateTime(utcNow(variables('variableMeetStartTime')), 'HH:mm:ss tt')
The received time that I am trying to input from a SharePoint list column is inputted like this example: 2:45 PM and the associated AM/PM is inputted in separate column as well. There is also an hours column that receives the hours, so for the above example it would just store '2'. Likewise, for the above example the minutes column would just store '45'. Therefore, combining the fields outputs 2:45 PM.
But I have no idea how to translate that over into Power Automate language. Could someone please assist me in accomplishing this. I welcome and appreciate any help at all as I am very much lost. Please see attached image as reference.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|

