أنا أقرأ التاريخ من قاعدو البيانات باستخدام هذا الكود:
$billing_sql = "SELECT billing.billing_id, billing.detail, billing.start_date_time, billing.amount FROM customers INNER JOIN (accounts INNER JOIN billing ON accounts.account_id = billing.account_id) ON customers.customer_id = accounts.customer_id WHERE customers.customer_id = '".$_SESSION['customer_id']."' AND billing.entry_type IN(1,2,5,6,7,8) ORDER BY start_date_time desc LIMIT 10"; $billing_result = pg_exec($pg_connection, $billing_sql); $billing_date_time = pg_result($billing_result, $i, 2);
ولكن التاريخ في قاعدة البيانات تم حفظه حسب توقيت GMT وأريده أن يظهر حسب التوقيت المحلي وهو GMT+3
