There's a related question Does brown but transparent swimming pool water heat significantly faster than western style highly chlorinated pools?. The question isn't a duplicate, though the answers there are relevant.
At the equator the intensity of sunlight at the ground is about 1kW/m$^{2}$, of which about half is visible and half is IR (plus a few per cent in the UV). The As fffred says in the comment, water absorbs IR radiation so about half the energy is absorbed directly by the water. The visible light will pass through water unabsorbed and will heat the walls of the swimming pool. Because water absorbs IR you get a greenhouse effect that keeps the walls warm, and the walls then warm the water by conduction and convection.
Estimating exactly how fast the water heats will be hard because the swimming pools walls tend to painted a light colour that will reflect a lot of the light. We'd have to know the reflectance to calculate how much light the walls absorb and hence how fast they heat. Presumably the walls will lose some heat to the ground, though i'd guess this will be slow. Finally need to take into effect the fact that the sunlight intensity falls with latitude, and of course depends on atmospheric conditions. Assuming maximum absorption and a pool on the equator sunlight will heat a 2m deep pool at slightly under half a degree per hour.