NBC News (NBC) – According to Skyscanner, a travel search engine, the cheapest month to book airfare in 2019 will be January.

Based on data from 2018, Skyscanner says August will be the second cheapest month if you’re planning to travel by air.

And February is the third cheapest month for booking flights in the new year.

The time of day is also a factor, consumers will find the best deals on early morning flights, especially 5 a.m. flights.

For domestic flights, book two to three weeks ahead of time.

And for international travel, the best deals will be found two months ahead of your trip.