Display published time for today’s posts only

    $post_date = get_the_date('d/m/Y');
    $today = date('d/m/Y');
    if ( $post_date == $today ) {
        echo get_the_date('h:m');
    } else {
        echo get_the_date();
    }