I have a flow that I am trying to build. It's relatively long and has a number of steps.
Trigged by a user completing a Microsoft Form. The form is to indicate availability. It then sends dates from the form in an email with options the email with options would read as "31/08/2022 PM". I want to update my Sharepoint list with the selected option from the email. I've split the response and removed the AM or PM part so I am only left with the date (31/08/2022). However when I try to run the flow I get an error.

I tried formatting the date and it won't allow me to do that either

Can anyone help?