This is my own algorithm to convert Gregorian calendar to Persian(Jalali) calendar. I wrote this code for C# at first as a part of my university project. Then i found out that Persian Calendar is already implemented on .NET framework in System.Globalization libraries ๐. I've searched for something like this in JavaScript and found some libraries, but non of them suits my needs. then I've decided to write my algorithm in JavaScript language and later for Java and Python3.
I've distributed my codes by wish to help someone.
Read more on wiki:
- Java class library for import and use in Java/Android projects.
- JavaScript js file for include and use in web applications.
- Python module for import and use in python projects.