Version 2.54 of @Prometheus comes with a nice new PromQL usability feature that allows you to use duration and number literals interchangeably, so you can write queries like this:
🔍 time() - my_timestamp_seconds > 30d
I wrote a blog post explaining this new feature:
https://promlabs.com/blog/2024/08/19/number-and-duration-literals-are-now-interchangeable-in-promql/