Title: Meta key relative value
Last modified: August 17, 2018

---

# Meta key relative value

 *  [robertinop](https://wordpress.org/support/users/robertinop/)
 * (@robertinop)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/meta-key-relative-value/)
 * I’m trying to create a list of upcoming event posts, and would like to add a 
   meta key/value filter with a relative meta key value for a date field. I would
   like to do this through the UI, not custom code.
 * For example:
    Meta Key: event_start_dt (my event start date) Compare: Is greater
   than or equal to Meta Value: today (or now, or yesterday) – this would be instead
   of a specific date, such as 2018-08-01.
 * PHP relative date formats reference: [http://php.net/manual/en/datetime.formats.relative.php](http://php.net/manual/en/datetime.formats.relative.php)
 * Any ideas? Thanks!

 The topic ‘Meta key relative value’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/query-wrangler_4f534c.svg)
 * [Query Wrangler](https://wordpress.org/plugins/query-wrangler/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/query-wrangler/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/query-wrangler/)
 * [Active Topics](https://wordpress.org/support/plugin/query-wrangler/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/query-wrangler/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/query-wrangler/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [robertinop](https://wordpress.org/support/users/robertinop/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/meta-key-relative-value/)
 * Status: not resolved