what file I need to create to work date archive links?

If you take a look at template hierarchy archive.php is very generic template, used for all kinds of archives.

Going by same chart if you want to add template, which applies to all date archives you should name it date.php.

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