Add the date of the order after the ID how do I add the order date after the order ID ?

Here is the contents of my file "commerce_order--commerce_order--pdf.tpl.php" :

&lt;?php

/**
 * @file
 * Template for invoiced orders.
 */

?&gt;

&lt;?php
//The code to get payment type

$order_id = $content['commerce_customer_billing']['#object']-&gt;order_id;

$payment_method = '';
$order = commerce_order_load($order_id);
$r = explode('|', $order-&gt;data['payment_method']);

if (count($r) &gt; 1){
  $rule = rules_config_load($r[1]);
  $payment_method = $rule-&gt;label;
}
?&gt;

&lt;div class="invoice-invoiced"&gt;
  &lt;div class="header"&gt;
    &lt;img src="&lt;?php print $content['invoice_logo']['#value']; ?&gt;"/&gt;
    &lt;div class="invoice-header"&gt;
        &lt;p&gt;&lt;?php print render($content['invoice_header']); ?&gt;&lt;/p&gt;
    &lt;/div&gt;
  &lt;/div&gt;

  &lt;hr/&gt;

  &lt;div class="customer-billing"&gt;&lt;?php print render($content['commerce_customer_billing']); ?&gt;&lt;/div&gt;
  &lt;div class="customer-shipping"&gt;&lt;?php print render($content['commerce_customer_shipping']); ?&gt;&lt;/div&gt; 
  &lt;div class="invoice-number"&gt;&lt;?php print render($content['order_number']); ?&gt;&lt;/div&gt;
  &lt;div class="invoice-header-date"&gt;&lt;?php print render($content['invoice_header_date']); ?&gt;&lt;/div&gt;
  &lt;div class="order-id"&gt;&lt;?php print render($content['order_id']); ?&gt;&lt;/div&gt;
  &lt;div class="invoice-header-date"&gt;&lt;?php print render($content['invoice_header_date']); ?&gt;&lt;/div&gt;

  &lt;div class="line-items"&gt;
    &lt;div class="line-items-view"&gt;&lt;?php print render($content['commerce_line_items']); ?&gt;&lt;/div&gt;
    &lt;div class="order-total"&gt;&lt;?php print render($content['commerce_order_total']); ?&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="invoice-text"&gt;&lt;?php print render($content['invoice_text']); ?&gt;&lt;/div&gt;
  &lt;?php print("Mode de règlement : " .$payment_method); ?&gt;

  &lt;div class="invoice-footer"&gt;&lt;?php print render($content['invoice_footer']); ?&gt;&lt;/div&gt;
&lt;/div&gt;
Well, since you already loaded the order, I guess you could do:

&lt;div class="order-id"&gt;
  &lt;?php print render($content['order_id']); ?&gt;
  &lt;?php print format_date($order-&gt;created, 'custom', 'd-m-Y'); ?&gt;
&lt;/div&gt;