Forums › Forums › Search & Filter Pro › How to filter events that occur within a date range.
Tagged: date range, events
- This topic has 13 replies, 2 voices, and was last updated 10 years, 4 months ago by
Anonymous.
-
Anonymous(Private) February 1, 2015 at 8:58 am #11234
Just an update – I tried doing a date range for just the end date (no start date), but this didn’t work for events with a date range or events with the same start and end date.
Please let me know and I can share the site with you.
Thanks in advance!
Ross Moderator(Private) February 2, 2015 at 6:32 pm #11299Hey again!
Did you check to make sure that the dates are being saved in the correct format?
Date should be stored in the database as YYYYMMDD or a unix timestamp – other formats (for example yyyy-mm-dd) won’t work, because these are interpreted as strings in MySQL not dates
Thanks
Ross Moderator(Private) February 18, 2015 at 12:05 am #12066Hey again
I think I finally figured out what you are trying to do, you need to use two meta keys (start and end date) for date range search?
So you need the dates to compare against start and end dates?
If so, this is not possible just yet but hoping to add it to v2 of the plugin out end of March.
Thanks
Ross Moderator(Private) March 11, 2015 at 12:35 am #13191Hey! We’re looking more like early April now, however a good chunk of coding is completed for 2.0.
I haven’t yet looked at this feature (its on a fairly large to do list) but planning on adding it to this 2.0 provided I have enough time – I’ll certainly be in touch RE testing thanks for the offer 🙂
Thanks
-
AuthorPosts