NAME

Date::Jalali2 - Perl extension for converting Gregorian Dates to Jalali

SYNOPSIS

  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;

ABSTRACT

  This module converts Gregorian date to Jalali and Jalali date to Gregorian.

DESCRIPTION

  Gregorian date -> Jalali (used in Iran, ...?)
 

EXPORT

None by default.

SEE ALSO

http://www.cpan.org/

CHANGE LOG :

 #Added Jalali to Gregorian Convertion.

AUTHOR

Ahmad Anvari <http://www.anvari.org/bio/>

Redistributed by : Ehsan Golpayegani <http://www.ehsan.pw>

COPYRIGHT AND LICENSE

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:

http://www.farsiweb.info/jalali/jalali.c

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.