Convert Date English to Bangla Date Converter – PHP code

Hi everyone. Now I am working on a project that is with some calendes. And there we add a function what convert English date into Bangla. It's pretty simple php code to convert the date. Hope you will enjoy the English to Bangla Date Converter php function. The date format is > Day, Month Date, Year.

And the code is as follows

$currentDate = date("l, F j, Y");
$engDATE = array(1,2,3,4,5,6,7,8,9,0,January,February,March,April,May,June,July,August,September,October,November,December,Saturday,Sunday,Monday,Tuesday,Wednesday,Thursday,Friday);
$bangDATE = array('১','২','৩','৪','৫','৬','৭','৮','৯','০','জানুয়ারী','ফেব্রুয়ারী','মার্চ','এপ্রিল','মে','জুন','জুলাই','আগস্ট','সেপ্টেম্বর','অক্টোবর','নভেম্বর','ডিসেম্বর','শনিবার','রবিবার','সোমবার','মঙ্গলবার','
$convertedDATE = str_replace($engDATE, $bangDATE, $currentDate);
echo "$convertedDATE";

Enjoy ...