add date time stamp to template