Engineering notes

Blog - Nepali Calendar, .NET & Bikram Sambat

Technical writing on Bikram Sambat calendar math, nepali date converter, .NET, and open-source software from Nepal.

10 min read

How Bikram Sambat Calendar Math Works in .NET

The Bikram Sambat calendar cannot be converted to Gregorian with a formula. Months have 29 to 32 days determined by solar transits, not a fixed pattern. This post explains the lookup-table approach, the fiscal year math, and how NepDate handles it in under 5 nanoseconds.

Read article