Overstaying a visa is a big deal. You should not be counting days or nights because you should not let yourself be in the country anywhere near the expiry of a visa.
> You should not be counting days or nights because you should not let yourself be in the country anywhere near the expiry of a visa.
You're privileged if you're able to do so. In many occasions people have single-entry visas with one day leeway from tickets submitted to the consulate.
For USA, A Visa is a right to request entry into the country. The I-94 defines the duration you are authorized to stay. You can have an expired Visa and time left on you I-94 and remain in the country.
Yes, this feels like calculating to the second when you need to arrive at the airport so you'll spend zero time at the airport.
Instead, arrive a bit early to the airport, and analogously, don't run visas down to the last hour based on the minutiae of Moroccan timezones etc.