setting up archive.php

formatting date also and making it a link to go to archive of dates