I just want to convert the date which is in this format dd-mm-yyyy(03-11-1991) into arabic no like this(۱۹۹۱/۱۱/۰۳) in php.
Answer I Made This Logic And It Works Perfect
$dateofbirth_numerial="03-05-2001";
$numerial_no = array("0","1","2","3","4","5","6","7","8","9","-");
$arabic_no = array("۰","۱","۲","۳","۴","۵","۶","۷","۸","۹","/");
$dateofbirth_arabic = str_replace($numerial_no , $arabic_no , $dateofbirth_numerial);
$result = explode('/',$dateofbirth_arabic);
echo $result[2]."/".$result[1]."/".$result[0]; /* yyyy/mm/dd */