I'm developing a category of events in my template using the standard post, in this post I've added two fields (Metabox) to the start date and end date of the event. Already in WP_query I need to display the events that have the starting date smaller than the current date, and the shorter end date.
Using WP_query or get_post_meta, or any other function ... How can I do this?