Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

EventDate

$meta_query = array(
	array(
		'key'     => 'EventDate',
		'compare' => 'EXISTS',
		'type'    => 'NUMERIC',
	),
);