For how long can you dive unter water with scuba diving equipment? How many hours?

The length of time your dive depends on the breathing gas, the depth, tank size and your consumption.
An average diver will get 40 minutes bottom time out of an 80 cubic foot cylinder filled with normal air at 60 feet. Half that on a dive to 120.