Working out overtime

I am currently working out my overtime by working out the duration between start and end time columns and converting it into decimals but sometimes the work continues longer than 24 hours so is there a way to solve this by using the date column and also to manage weekend overtime?