The bee is reckoned to do this calculation by making use of the change in the light emitted by the sun depending on the time of the day.