Calc Start and End Times

Without seeing your data, I can only guess. The first place I would look is the output of ymd_hms(). You are reading in an Excel file and Excel will silently change the format of dates. The imported dates may not match the ymd format. If the problem is not there, please post a Reproducible Example with data showing the problem.