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