WP function won’t work on 404 template page

the_time does not display the current date, it displays the date of the current post, and 404 pages do not have a current post.

For this reason, if it ever returned a date on the 404 page then it would be a bug.

Instead you should use the PHP functions that come with PHP to display the current date and time.

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