Added code that sets the date for display purposes until refresh occurs.