I have a flow that might be triggered from 2 different time zones that exports JSON data to a CSV.
The JSON is coming from a SharePoint List which has a datetime field in it. The date/time is correct when I'm looking at it in SharePoint (it's showing the local time for the field) but the JSON value that is being passed to my flow from Power Apps contains the information as UTC.
In the export, it is currently exporting as UTC. Sometimes the field contains a date & time, and sometimes it's null.
I need the flow to export the information in local time. I've tried setting it to utcNow(item()?['Scheduled_x0020_Interview']) but that still just exports it as UTC time.
What am I doing wrong? I'm also getting errors when the field value is null.
Also not sure if the label for this post is correct - there is no option for Instant Flow so I picked Button Flow.