Most of the action would be over in a few hours. However, the tankers will not travel the Strait until all threat is eliminated, and that would require surrender by Iran. It won't be a matter of a few hours: oil shipments could be interrupted for a month.