Problems with the_time,the_date, get_the_time

When using date function it is recommanded to use date format or time format of the installation :

get_option('time_format');
get_option('date_format');

This allows you to grab date format or time format of the current installation.

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