cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Resolver I
Resolver I

Convert text to date: MS Form date entry > Convert text to Date > store in SharePoint List

Hi I'm trying to configure a flow to get some responses from a MS Form and store the response in a SharePoint List.

I think there is not a major problem with the text fields but I have a "date" entry that is not accepted. 

I'm trying to convert it using "Compose" but it doesn't work... and I think I'm missing something really simple.

 

  1. When a new response is submitted
  2. Getting Response
  3. Compose (Meeting Date field)
  4. Compose 2: ConvertToUTC(Compose)
  5. M_Date (SharePoint) --> Output Compose 2

And I got an error in the ConvertToUTC data

Any ideas?

 

 

Capture1.JPGCapture 2.JPG

 

Many Thanks

S

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Solution Sage
Solution Sage

Re: Convert text to date: MS Form date entry > Convert text to Date > store in SharePo

Hi Sam4,

I think you need give a <sourceTimeZone> to the convertToUtc function.

Please first take a check here: https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#c...

Specially: convertToUtc('<timestamp>', '<sourceTimeZone>', '<format>'?)

I have made a flow for your scenario, please check it for a reference.

The expression is: convertToUtc(actionOutputs('Compose'),'Pacific Standard Time')

1.png2.png

Please feel free post back if you need more help.

Best regards,

Zhonys

View solution in original post

2 REPLIES 2
Highlighted
Solution Sage
Solution Sage

Re: Convert text to date: MS Form date entry &gt; Convert text to Date &gt; store in SharePo

Hi Sam4,

I think you need give a <sourceTimeZone> to the convertToUtc function.

Please first take a check here: https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#c...

Specially: convertToUtc('<timestamp>', '<sourceTimeZone>', '<format>'?)

I have made a flow for your scenario, please check it for a reference.

The expression is: convertToUtc(actionOutputs('Compose'),'Pacific Standard Time')

1.png2.png

Please feel free post back if you need more help.

Best regards,

Zhonys

View solution in original post

Highlighted
Resolver I
Resolver I

Re: Convert text to date: MS Form date entry &gt; Convert text to Date &gt; store in SharePo

Many thanks! That was what I was missing 

 

Works perfect now Smiley Happy

 

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (8,966)