Hey all, first post in here. Has anyone else noticed that when creating a view and setting the filters (particularly on conditions relating to a date field that includes a time) there is no way to set the filter to read hours rather than days?
My use case:
- I want to set up a view to trigger an external automation (zapier) exactly 48hrs before a specific date-time
- I set the filter to DATE = number_of_days_from_now = 2
However, that doesn't work as it doesn't include time in the calculation.
e.g. DATE = 2023-09-19 16:00:00
So then I want the filter to register a new row at: 2023-09-17 16:00:00
But instead, it ignores time, adding a new row at: 2023-09-17 00:00:00 (as soon as it reaches the correct day basically) despite this being 16 hours early (but technically correct by 'days' alone).
I've tried using DATETIME_FORMAT to extract just the time - but there isn't a way to read that usefully in the view.
So I'm probably going to have to do an awkward workaround like create a field that counts the hours until the date (DATETIME_DIFF 'hours') and set the view to include when <48.
But its kinda bizarre that the filters don't have a more granular setting than days built-in to date filtering.
Have I missed something? thanks, Alex