Date::Jalali2 - Perl extension for converting Gregorian Dates to Jalali
use Date::Jalali2; my $t1 = new Date::Jalali2 (2003,6,9[,options]); # Option ; # 0 = Gregorian Dates to Jalali # 1 = Jalali to Gregorian Dates print $t1->jal_day; print $t1->jal_month; print $t1->jal_year;
This module converts Gregorian date to Jalali and Jalali date to Gregorian.
Gregorian date -> Jalali (used in Iran, ...?)
None by default.
#Added Jalali to Gregorian Convertion.
Ahmad Anvari <http://www.anvari.org/bio/>
Redistributed by : Ehsan Golpayegani <http://www.ehsan.pw>
Copyright 2019 by Ehsan Golpayegani
The original algorithm was written with regards to Gregorian<->Jalali convertor developed by Roozbeh Pournader and Mohammad Toossi available at:
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.