Changed from_time and to_time to from and to in the documentation