The toDate block returns the "Invalid date" error

The toDate block returns the “Invalid date” error

Steps to Reproduce

Expected behavior
I want to get a string in date format

Fixed, please check