How we calculate the calendar
Every value on Ek Patro comes from where the Sun and the Moon are, seen from Kathmandu, or from the official calendar where nothing can be calculated.
Bikram Sambat dates
A BS month starts at the sankranti, when the Sun enters the next sign, which is why months have 29 to 32 days. We use the month tables that match every printed calendar from BS 2000 to today, and lock each new year against the patro approved by the Nepal Panchanga Nirnayak Samiti.
Tithi, nakshatra, yoga and karan
These are calculated from the Sun's and Moon's positions at sunrise in Kathmandu (27.72° N, 85.32° E), using the open astronomy-engine library, which agrees with NASA JPL to about one arcminute. The tithi is the angle between the Moon and the Sun divided by 12°; the day's tithi is the one in force at sunrise (udaya tithi). Nakshatra, yoga and the moon sign use the Lahiri ayanamsa.
Festivals and holidays
Festivals follow their rules on the lunar calendar (for example Ghatasthapana is Ashwin Shukla Pratipada). Each festival shows whether it was checked against the Samiti-approved patro or is a calculated date. For BS 2083 every major festival we calculate matches the approved patro. Weekly holidays (Saturday and, from 2083, Sunday) and public holidays come from official notices, not from a rule in our code.
Exchange rates
Published by Nepal Rastra Bank and shown with the date they are for.