Справочники, инструменты, документация

PHP: Показ и скрытие блока по дате

Необходимо скрыть блок если дата, например, (23.03.2019) прошла.
<?php if (date('Y.m.d')>'2019.03.23') { ?>
<div class="card">
 <img class="card-img-top img-fluid" src="..." alt="Card image cap">
 <div class="card-block">
   <h4 class="card-title">Card title that wraps to a new line</h4>
   <p class="card-text">This is a longer card with supporting text below as a natural...</p>
 </div>
</div>
<?php } ?>