I try to get previous and next post so I do this :
$args = array(
'post_type' => 'event',
'post_status' => 'publish',
//'posts_per_page' => 1,
'meta_key' => '_start_at',
'meta_type' => 'DATETIME',
'orderby' => 'meta_value',
'order' => 'ASC',
);
$query = new WP_Query( $args );
But when I look at the list it does not matching with my posts... I have an event in february, next in august, next in march... How can I do ? Thandks