made time difference calcuation