How to exclude records with the tag?

How to exclude records with a certain tag? I've tried several methods..
<?php query_posts( array ('orderby' =--> 'title', 'order' => 'ASC') ); ?>
<?php 
function filter_where($where = ") { 
$where .= "--AND post_date>= '2000-01-10' AND post_date <= '2017-01-01'"; 
return $where; 
} 
add_filter('posts_where', 'filter_where'); 
query_posts($query_string);?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
July 8th 19 at 12:13

Find more questions by tags WordPress