Filter events 1 hour ago

I want to filter events one hour ago. . If field=“start_time” after=today is working fine, type is datetime (Y-m-d H:i:s)
But what about hours?

A bit blind, did you try something like -1 hour?
Based on this doc page for Gravity Forms: Form Entry | Loops & Logic

I guess start_time is related to The Events Calendar?

Hi @christian the loop type tec_event may help you if you use The Events Calendar Integration with L&L

Furthermore, you could try the following code.

<Date format="Y-m-d H:i:s" /><br>

<Date subtract="1 hour" format="Y-m-d H:i:s" /><br><br>

<Set name="an-hour-ago"><Date subtract="1 hour" format="Y-m-d H:i:s" /></Set>


<Loop type=tec_event start_date="today" end_date="{Get an-hour-ago}" posts_per_page="-1" order="DESC">
  <Field post_title /><br>
  <Field start_date /><br>
  <Field end_date /><br><br>
</Loop>

This page can also give you more idea of how it works