this function takes a date string and tries to parse it to a datetime variable you can use in a piston.
The documentation I reference shows how to define how to interpret the date string you are passing if webcore does not naturally know how to parse it.
If you are unsure how to use it, you can also show your date string you are having trouble with, and someone I’m sure will show you what to use for the format argument. Above in this thread for the example shown, I showed what the format string should be.