I am making a simple symbian app in Python which will take Gregorian calendar date from user and convert it to Vikram Sanvat /Shak samvat of Vedic calendar.
unfortunately, the hindu calendar varies much from the our de-facto system in no. of days in months. So, I am looking for an algorithm which does it effectively , otherwise, I will have to write it from scratch which may have some bugs(in dates). the app first calculates the time in seconds(unix epoch way) then converts it to gregorian. This info be of help,if any.
More reference here: http://en.wikipedia.org/wiki/Bikram_Samwat