dynamically apppend date to html