It was He that made the sun a brightness and the moon a light , and determined it in phases so that you might know the number of years and the reckoning . Allah did not create them except in truth , and distinguishes the verses to a nation who know .