WP function won't work on 404 template page
I made a custom template of error 404 page. In my header.php i use the_time() function to display current date. There is some problem with 404 page because the_time() function won't work, not return any date. Why is that happen?