Updating the date format.

Adding the analytics code.