generate range and day