Convertir la hora de la fecha de inglés a la fecha de la fecha persa JDF PHP

//https://jdf.scr.ir/download
<?php
include "jdf.php"
$time = '2022-04-21 09:52:32';
$time=strtotime($time);
echo jdate('Ymd',$time);
Amin Arjmand