$week= Array("Thursday" => "پنجشنبه","Saturday" => "شنبه","Sunday" => "يكشنبه","Monday" => "دوشنبه","Tuesday" => "سه شنبه","Wednesday" => "چهارشنبه","Friday" => "جمعه");
$month = Array("فروردين","ارديبهشت","خرداد","تير","مرداد","شهريور","مهر","آبان","آذر","دي","بهمن","اسفند");
list( $gyear, $gmonth, $gday ) = preg_split ( '/-/', '2004-03-04' );
list( $jyear, $jmonth, $jday ) = gregorian_to_jalali($gyear, $gmonth, $gday);
echo "
" . $week["Thursday"] . " ". $jday . " " . $month[--$jmonth] . " " . $jyear . "
"
?>
در همين زمينه: