The beach is at two hours driving from the airport.
The beach is two hours’ drive from the airport.
The beach is a two-hour drive from the airport.
Two hours’ drive and a two-hour drive are both correct and have the same meaning: the journey takes two hours.
In two hours’ drive, put the apostrophe after the plural hours and do not use a hyphen.
In a two-hour drive, use the singular form hour and connect two-hour with a hyphen.
Check our grammar lesson on possessive ‘s with time expressions.
See MINUTE