If I accept a date from a user using ask
and then wish to use it as a Date by using to-date
, I get an error.
>> to-date "31-Dec-2019"
*** Script Error: cannot MAKE/TO date! from: "31-Dec-2019"
*** Where: to
*** Stack: to-date
What is the correct way of converting a string to date ?