That's not true, unless you are adding alk all the while. The diurnal pH cycle does not impact alkalinity directly. It only impacts how fast alk is declining.
Photosynthesis only impacts CO2, and CO2 cannot ever directly have any effect on alkalinity, despite having an effect on pH.
Randy provides an overview of alkalinity as to why it's important, how it's measured, and how can it be tested.
reefs.com
Alkalinity Facts
There are several facts about total alkalinity that follow directly from the definition. Unfortunately, some of these have been misunderstood by some hobby authors.
One of these facts is termed The Principle of Conservation of Alkalinity by Pankow (“Aquatic Chemistry Concepts”, 1991). He shows mathematically that the total alkalinity of a sample CANNOT be changed by adding or subtracting CO2. Unfortunately, there is an article available on line, which claims otherwise, and encourages people to “lower alkalinity” by adding CO2 in the form of seltzer water. This is simply incorrect.
Forgetting the math for the moment, it is easy to see how this must be the case. If carbonic acid is added to any aqueous sample with a measurable alkalinity, what can happen?
Well, the carbonic acid can release protons by reversing equations 1 and 2:
(5) H2CO3 ==> H+ + HCO3–
(6) HCO3– ==> H+ + CO3—
These protons can go on to reduce alkalinity by combining with something that is in the sample that provides alkalinity (carbonate, bicarbonate, borate, phosphate, etc). However, for every proton that leaves the carbonic acid and reduces alkalinity, a new bicarbonate or carbonate ion is formed that adds to alkalinity, and the net change in total alkalinity is exactly zero. The pH will change, and the speciation of the things contributing to alkalinity will change, but not the total alkalinity.
This is not true for strong acids, however. If you add hydrochloric, sulfuric or phosphoric acids (or any acid with a pKa lower than the carbonic acid endpoint), there will be a reduction in the alkalinity.