Tag Archives: Nepali Calendar

A coding challenge

I got a quick coding challenge. Since I didn’t find a solution to the problem, I don’t dare to call it a kata, though this might become one. The challenge is easily described: Write a converter for Gregorian Calendar dates to Nepali Dates, also called Bikram Samwat – and back. The format MM/DD/YYYY shall be used for both calendars, not need to go for the unicode based Nepali names of the months – but it would be a nice addition.

You may choose any programming language as you may see fit. You may trawl any knowledge together that you need to fulfill the requirement. There are a few reference converters on the web. And I’m sure you will find them as well. I don’t put a due date on this, but if you get me something until end of this week, that would be awesome.