I try to understand is it possible to convert datetime string to different languages ?
I have a code:
<?=DateTime::createFromFormat('Y-m-d H:i:s', $ticket['created_on'])->format('M d, Y')?>
It outputs Aug 10, 2022.
How to run this function with french language for example ?
Thank you in advance !