just calculating minute, hour and day in each other