Shamsi calendar for the Wolfram Language
This package provides functions to convert Shamsi to/from Gregorian date. The applicable range is: 1300/01/01 to 1469/12/29 (or 1921/03/21 to 2091/03/19).
- Download the latest release.
- Copy the file “Shamsi.wl” to one of the folders obtained by evaluating the following command in Mathematica:
FileNameJoin[{$UserBaseDirectory,"Applications"}]
- Use the command
Needs["Shamsi
"]` to load the package.
For 1-time uses, you can first Import the “Shamsi.wl” file and then use the Needs
command to load the package.
The package uses functions like CalendarConvert
which are newly added to the language; so the minimum version is v10. You can use v1.0 of this package (which has limited functionality), if you don't have the new Mathematica.
This package is developed using Mathematica v11 on macOS.
Any thoughts, suggestions, contributions are welcome. The functions need to be optimized for speed & error checking. Additional options and messages are also important.