Shortly before sundown on the 29th of Adar, G-d commanded Moses regarding the mitzvah of sanctifying the crescent new moon and establishing a lunar calendar. This is the first mitzvah the Jews were given as a nation.
Moses had difficulty envisaging the moon's appearance at the exact moment of its monthly rebirth. After the sun set, G-d showed Moses the crescent new moon of the new month of Nissan, showing him the precise dimensions of the moon at the moment the new month is to be consecrated.
For the generations that followed, each new month was ushered in when two witnesses testified before the Sanhedrin (rabbinic supreme court) that they had seen the molad, the new moon. In the 4th century CE, Hillel II foresaw that the Jews would no longer be able to follow a Sanhedrin-based calendar. So Hillel and his rabbinical court established the perpetual calendar which is followed today -- until Moshiach will come and reestablish the Sanhedrin.
Links::
Lunar Time
Rosh Chodesh
The Molad
A few months after its creation, Napoleon's "Sanhedrin" (rabbinical supreme court) was dissolved. The Sanhedrin was created to approve certain religious regulations requested by the French "Assembly of Notables." The regulations were designed to blur the distinction between Jews and non-Jews.
The rulings of this pseudo-Sanhedrin were never adopted by Jewish communities.
Link:: Napoleon Bonoparte
The Shabbat candles are lit to provide light, so we can see our food, so we do not stumble, so we can enjoy a peaceful, delightful Shabbat.
But the light of the Chanukah menorah is a different kind of light. It is not to be used for anything at all. It’s function is not that you should see, but that it should be seen.
Light is wisdom. Wisdom is light.
There is wisdom that is helpful to us, so we can see where we are, so we do not stumble, so we can do what we need to do, arrive where we need to arrive. And so, we appreciate that wisdom.
And then there is wisdom that is true simply because it is true. Even when it is not convenient.
Yet without that absolute wisdom, all other wisdom falls and crumbles.
For it is the wisdom that shone before the world was made. It was hidden in the Torah for a time yet to come. And it shines on Chanukah.