The date is calculated according to the 210-day Balinese calendar. It is related to Diwali, celebrated by Hindus in other parts of the world, which also celebrates the victory of dharma over adharma.[2][3] Diwali, however, is held at the end of the year.