code: public static function toGregorianStr($j_date, $sep = '/')
  	{
  		$arr = explode($sep,$j_date);
  		if (count($arr) < 3 || intval($arr[0]) == 0) // invalid date
  			return "";
  		else
  		   $g_date = jDateTime::toGregorian($arr[2],$arr[1],$arr[0]);
  		return implode($sep,$g_date);
  	}
docs: Converts Jalai DateTime to Gregorian and return it as string.
  By Ahmad Pouramini