Timer function with date display added