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();
    }

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)