Gregorian-Jalali Date Convertor php script
use these function to convert dates :
$g_y: gregorian year $g_m: gregorian month $g_d: gregorian day $j_y: jalali year $j_m: jalali month $j_d: jalali day
$str: return in string format
if $str set to true the function return converted date in string format .
easy compare jalaly and Gregorian date by :
give 2 dates in string format .