Getting dates between from and to date