Yes, thank you DonkeyOte. I should have noticed that startdate wasn't included in the example given (enddate-startdate)