get date generated and add to page