This paper presents a novel approach to address the challenge of coordinated ground attack by UAV swarm in a three-dimensional battlefield environment. The proposed method utilizes predetermined time convergence for space-time coordinated control of the UAV swarm. The analysis begins with examining the mission scenarios of UAV swarm ground attacks and establishing models for the swarm, ground moving targets, and attack problems. Building upon the problem modeling, a space-time coordinated control law is designed, taking into account the UAV swarm's space-time coordinated strategy. This control law enables the UAV swarm to reach the desired attack positions within a specified time, thereby achieving coordinated attacks on ground moving targets. Theoretical analysis based on the Lyapunov function, demonstrates that the proposed control law asymptotically stabilizes the attack position error variable under predetermined time conditions. Simulation results validate the effectiveness of the distributed control law in achieving space-time coordinated of UAV swarms and accomplishing multi-angle coordinated attacks on ground moving targets within the specified time, even in scenarios involving turning movements of the ground targets.