Secondo voi un sistema del genere può funzionare ?

Codice PHP:
<?php $postdate the_date(); ?>

<?php
if ( !empty($postdate) ) { ?>