$xml = '<?xml version="1.0" encoding="UTF-8"?>
<checkOrderResponse performedDatetime ="' . date( 'c' ) . '" code="' . $code . '" invoiceId="' . $post['invoiceId'] . '" shopId="' . $post['shopId'] . '"/>';
header( 'Content-type:application/xml;' );
echo $xml;
$date = DateTime::createFromFormat('27.02.1993', 'd.m.Y');
echo $date->format('Y-m-d H:i:s');
$object = new Class();