Title: meta_query problem
Last modified: August 21, 2016

---

# meta_query problem

 *  [spacefolded](https://wordpress.org/support/users/spacefolded/)
 * (@spacefolded)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/meta_query-problem/)
 * I need to query some numeric data **BETWEEN **some values from meta_value **ARRAY!!!!**
 *     ```
       $start_time=mktime(0,0,0,date("n",time()),date("d",time()),date("Y",time()));
       $finish_time=mktime(23,59,59,date("n",time()),date("d",time()),date("Y",time()));
       $args = array(
          'orderby' => 'meta_value_num',
          'order' => 'ASC',
         'meta_query'=> array(
           array(
             'key' => 'repeat_ends',
             'compare' => 'between',
             'value' => array($start_time,$finish_time),
             'type' => 'numeric'
           )
         )
        );
       $query = new WP_Query( $args );
       ```
   
 * **REMEMBER THAT MY meta_value IS AN ARRAY of mktime elements!!! time and values
   in array are correct** help me please..

The topic ‘meta_query problem’ is closed to new replies.

## Tags

 * [arrays](https://wordpress.org/support/topic-tag/arrays/)
 * [between](https://wordpress.org/support/topic-tag/between/)
 * [meta_query](https://wordpress.org/support/topic-tag/meta_query/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [spacefolded](https://wordpress.org/support/users/spacefolded/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/meta_query-problem/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
