Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Date Query

$date_query = array(
	array(
		'before'        => '2017-11-10',
		'after'         => '2016-11-10',
		'inclusive'     => true,
	),
	array(
	),
);