What is best practice for filtering data-time in database-node?

I’ve tried several formats, including text and variables, but none have worked so far. If anyone could share their experience, I’d appreciate it. My goal is to filter data entries within a specific time range, such as 30 minutes, within a given date-hour period