You are correct that the plant does eventually make carbohydrates, but not out of, strictly speaking, CO2. Like I said, the plant converts ADP and NADP+ into ATP and NADPH +H; during the day with light. The light excites the pigments which in turn sets off a chain of chemical reactions resulting in their formation.
At night, the plant takes those molecules that it just created during the day, and, with the addition of CO2, turns them into carbohydrates.
Photosynthesis does not occur JUST during the day!
There are the two stages to complete photosynthesis.
That is a perfect diagram of the photosynthetic cycle.
There are the two photosystems that take in the light and water and create oxygen and the ATP and NADPH +H that is required for the Calvin cycle. The Calvin cycle does not require light.
The Calvin cycle is a continual process of converting ATP and NADPH +H, in the presence of carbon dioxide and water, into carbohydrates, ADP, and NADP+. This, in turn, sets the light reactions for a whole new day of starting the process over again.
On your second link, is read the following:
"The dark reaction
takes place in the stroma within the chloroplast, and converts CO2 to sugar
6CO2 + 6H2O (+ light energy) = C6H12O6 + 6O2
NOTE: OVERALL. It does NOT say when
those reactions take place. (Which is also at night.)
Any more challengers? :D