I am having a little issue with DateTime on a workflow. I am trying to set a date in a text input, and the value is being set in an assign to a String argument. The process needs to be run daily so the date must update. The assign reads:
In_ToDate = DateTime.Now.ToString(“dd/mm/yyyy”)
I put a message box after the assign to make sure the argument has a value, and the message box is showing the date 17/36/2019 instead of 17/10/2019 (today’s date). Any ideas on how to fix this? I cannot upload the workflow as it contains sensitive information, apologies.
Thanks in advance!