I have a text input control, myDateControl, in a Power App linked to Share Point lists. myDateControl is used for patching an SP list.
To extract the date from myDateControl, I have:
Date(
First(Split(newArtistDob.Text,"/")).Value,
Last(FirstN(Split(newArtistDob.Text,"/"),2)).Value,
Last(Split(newArtistDob.Text,"/")).Value
)
This always produces incorrect date, e.g. 02/01/2001 yields 24/06/1907
What am I doing wrong?
Thank you.