Flight International Airport departs from San Francisco International Airport at 23:45 and arrives at Chicago O'Hare International Airport at 05:58.
The flighttime is about 4h 13m. The distance travelled ("as the bird flies"): 3832 Km. So the average speed is roughly 909 Km.
There is an 2 hour time difference between San Francisco and Chicago