set date in footer dynamically