Filter HubDB data based on today's date

Hi Sven,

you must put inside your for cycle this strings:

{% if (row[‘event_start_date’]|datetimeformat(‘%j’)) >= (local_dt|datetimeformat(‘%j’)) %}

your rows like <li>…</li>

{% endif %}

note that %j is needed to convert my date (in date format and not datetime) in a timestamp so it’s possible to compare two dates

This string hide the past events

I hope this can help you

Best regards

Giovanni