Flight International Airport departs from San Francisco International Airport at 23:40 and arrives at New York Newark Liberty International Airport at 08:25.
The flighttime is about 5h 45m. The distance travelled ("as the bird flies"): 5358 Km. So the average speed is roughly 932 Km.
There is an 3 hour time difference between San Francisco and New York