added code that prints date if date differs from starting date