How long do you have after your water breaks

Peri
I live like 30 mins from my hospital so would that be enough time to get there once my water breaks? Assuming it happened while I'm at home of course but I know it could happen anywhere any time