Flight International Airport departs from San Francisco International Airport at 07:50 and arrives at New York John F Kennedy International Airport at 16:34.
The flighttime is about 5h 44m. The distance travelled ("as the bird flies"): 5402 Km. So the average speed is roughly 942 Km.
There is an 3 hour time difference between San Francisco and New York