Skip to content
Advertisement

Need to parse a date range location in a field to two SQLStatements

Have a custom field that contains a date range in the following format:

What I need to do is separate this one line into two different fields, the first selection/range and the second range, so if you take the screenshot I need it to be separated to 3/16/20 for one field and 3/22/20 for the other field.

Currently I have this and something is causing an error randomly and I want to make sure it is not the SQL statement

For the first selection, I use the following:

For the second selection I use the following:

Advertisement

Answer

Try:

or to be safe, but possibly not return the date:

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement