Display entries after current date only

This is I’m sure very basic but I’m a bit of a newb to Kirby. Looking to display dated entries after the current date, in essence hiding any entries that were in the past.

This is the php I currently have, I assume the for each loop needs be changed and wondering if there is a simple Kirby tag I could use to achieve this ? Thanks for the help.

<?php echo $page->title()->html() ?> <?php foreach(page('live')->children()->visible() as $article): ?> <?php echo $article->date('d.m.Y')?> <?php echo $article->location()->html() ?> <?php echo $article->info()->html() ?>

Have a look at the filterBy() functions, which allows you to compare dates as well: http://getkirby.com/docs/cheatsheet/pages/filterBy, e.g.

$items = $page->children()->filterBy('date', '>', time())

Thanks, that worked like a charm. Didn’t think of searching for filter or fetch.