Shamsi Jalali Persian Date Timestamp konvertieren

//Convert Shamsi Date To TimeStamp
function getTimeStamp($date)
{
	$splitDateAndTime = explode(' ', $date);
	$date = explode('/', $splitDateAndTime[0]);
	$jalaliToGeorgian = jalali_to_gregorian($date[0], $date[1], $date[2], '/');
	return strtotime($jalaliToGeorgian . $splitDateAndTime[1]);
}
Amin Arjmand