put date in the template