Hi,
I am trying to convert a string to a date-variable that is accepted by sharepoints date-format:
I have a string-variable:
Set(varDateEN;"12/31/2020")
I convert this string into date-format:
Date(Value(Right(varDateEN;4));Value(Left(varDateEN;2));Value(Mid(varDateEN;4;2)))
Then I update an item in a sharepoint list including the date value. All values of the item are being updated, except the date.
Any ideas what's going wrong? Is there an easier way to convert text to date?
Thanks,
Lukas