Added extension methods to get the start and the end of the day, as well as the start of the hour.