Jalali calendar is a small and portable free software library to manipulate date and time in the Jalali calendar system. It's written in C and has absolutely zero dependencies. It works on top of any POSIX.1-2001 (and later) compatible libc implementations. Jalali calendar provides an API similar to that of libc's timezone, date and time functions.
The Jalali calendar package consists of a library, libjalali, and two simple terminal tools, jcal and jdate, with functionality similar to UNIX cal and date.
You can always obtain the latest version of Jalali calendar or else, all releases from here. Alternatively, consider cloning the project's git repository. A web interface to that git repository is also available.
To get familiar with libjalali's API and function set, please consult its documentation. The use of jstrftime() and jstrptime() functions is explained in detail here and here.
See the jcal and jdate manual pages.
Please file bug reports to Savannah's Bug Tracker, or send an email to the current maintainer.
jcal was originally developed by Ashkan Ghasemi, who passed away in 1396 (2017). As an influential member of the Iranian FOSS community, his absence is deeply felt by all of us.
After Ashkan's passing, jcal was neglected for a period of time. To ensure the project's longevity and vibrancy, we are actively seeking volunteers who can contribute in various ways—be it through code, documentation, or any other support. If you're interested in helping, please don't hesitate to reach out.
Updated: 1405-02-31 13:44 (2026-05-21 13:44)