In our Postgres database, we have the following range for a field:
The value looks like this: (some kind of a slot)
["2015-02-06 18:30:00","2015-02-06 19:00:00")
We would like out of it to select only the first component: 2015-02-06
We tried several functions: LEFT, SUBSTRING, TO Char but they are all giving errors.
Any idea how we could solve this?