Use the getInvervalOnDay suggestion here