Late-night dancing is just a step away after the revision of a law that forced nightclubs to close by midnight.

New regulations that take effect on June 23 will allow the music to play on until the early hours under some conditions.

The law was in force for almost 70 years and was revised in 2015 amid recognition that it was a hammer-and-nut approach to prostitution, which the restrictions were aimed at. Until now, clubs have been lumped into the same category as sex parlors.