Regardless of rhythm or timing, there is nothing worse when dancing than to be “off beat”.
Most dance music is based on 2/4, 3/4, or 4/4 music time. In 2/4 and 3/4 time, the first beat of a bar is emphasized. In 4/4 time the most emphasized beat is the first beat and there is then less emphasis on the 3rd beat. The first beat is the beginning step of the dance. Move to the beat! Listen for the bass instruments; they will show you the way.