Code:
$order_check = $db->Execute("select orders_id, cc_cvv, customers_name, customers_company, customers_street_address,
customers_suburb, customers_city, customers_postcode,
customers_state, customers_country, customers_telephone,
customers_email_address, customers_address_format_id, delivery_name,
delivery_company, delivery_street_address, delivery_suburb,
delivery_city, delivery_postcode, delivery_state, delivery_country,
delivery_address_format_id, billing_name, billing_company,
billing_street_address, billing_suburb, billing_city, billing_postcode,
billing_state, billing_country, billing_address_format_id,
payment_method, cc_type, cc_owner, cc_number, cc_expires, currency,
currency_value, date_purchased, orders_status, last_modified, shipping_method
from " . TABLE_ORDERS . "
where orders_id = '" . (int)$MyoID . "'");
.
.
.
$Emb_Order_Extra = '<table border="0" cellspacing="0" cellpadding="2" width="275"><tr><td class="main"><strong>' . ENTRY_DATE_PURCHASED . '</strong></td></tr><tr><td class="main">' . zen_date_long($order_check->fields['date_purchased']) . '</td></tr><tr><td class="main">' . '<b>Customer comments: </b><br>' . $orders_history->fields['comments'] . '</td></tr><tr><td class="main"><b>' . ENTRY_PAYMENT_METHOD . '</b></td></tr><tr><td class="main">' . $order->info['payment_method'] . '</td></tr></table>';
As far as I see the function is "zen_date_long($order_check->fields['date_purchased'])"