Hello! I use date fields for the announcement of events.
My code:
<?php if( get_field('start_date') ): ?>
Event: <?php the_field('start_date'); ?> - <?php the_field('end_date'); ?>
<?php endif; ?>
Is it possible that fields clearing automatically after expiring of end_date ?