Added date functions for range and the day name.