Flight John F Kennedy International Airport departs from New York John F Kennedy International Airport at 00:45 and arrives at Shanghai Pudong International Airport at 04:45.
The flighttime is about 16h 00m. The distance travelled ("as the bird flies"): 18234 Km. So the average speed is roughly 1140 Km.
There is an 12 hour time difference between New York and Shanghai