I am trying to filter my google sheets data in a query and I am really banging my head here, as I can't find a way to properly filter my datetime fields.
I have a regular date filter that works perfectly so it's really about datetime.
In my case I want to retrieve entries between 2 time slots. After noticing I was getting wrong results, I stripped the formula down to 1 criteria and the issue shows already.
I have a datetime field in a form, that writes the data in my Google sheet. The data is written, then displayed completely correctly. However, I am not able to filter the table with this formula:
select * from {{table1.data}} where Startdatum >= {{ moment(Enddatum_input.value).format('YYYY-MM-DD h:mm a') }}
The formula will retrieve items that are before my input field date. I tried so many things and searched through the forum, but I am now stuck.
I really like Retool a lot so far. This is my first use case and if this goes well, I will consider working a lot more with Retool in the future