The date of purchase has nothing to do with it. It is the "placed in service" date that matters. "Placed in service" means it is completely ready and available to be used for business purposes.
The "placed in service" date would need to be on or before December 31st, 2017 in order to claim any depreciation on the vehicle.