Navigation Path: Home > Statistics > Exchange rates > Euro foreign exchange reference rates
The reference rates are usually updated by 3 p.m. C.E.T. They are based on a regular daily concertation procedure between central banks across Europe and worldwide, which normally takes place at 2.15 p.m. CET.
For further information, please refer to the ECB press release: Additional reference exchange rates for the euro, 5 December 2008.
The reference exchange rates are published both by electronic market information providers and on the ECB's website shortly after the concertation procedure has been completed. Reference rates are published according to the same calendar as the TARGET system.
<?php
//This is a PHP (4/5) script example on how eurofxref-daily.xml can be parsed
//Read eurofxref-daily.xml file in memory
$XMLContent= file("http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml");
//the file is updated daily between 2.15 p.m. and 3.00 p.m. CET
foreach ($XMLContent as $line) {
if (ereg("currency='([[:alpha:]]+)'",$line,$currencyCode)) {
if (ereg("rate='([[:graph:]]+)'",$line,$rate)) {
//Output the value of 1 EUR for a currency code
echo '1 € = '.$rate[1].' '.$currencyCode[1].'<br />';
//--------------------------------------------------
// Here you can add your code for inserting
// $rate[1] and $currencyCode[1] into your database
//--------------------------------------------------
}
}
}
?>
1 € = 1.3675 USD
1 € = 122.07 JPY
1 € = 1.9558 BGN
1 € = 26.168 CZK
1 € = 7.4442 DKK
1 € = 15.6466 EEK
1 € = 0.87610 GBP
1 € = 273.90 HUF
1 € = 3.4528 LTL
1 € = 0.7088 LVL
1 € = 4.1040 PLN
1 € = 4.1370 RON
1 € = 10.1616 SEK
1 € = 1.4659 CHF
1 € = 8.1705 NOK
1 € = 7.3225 HRK
1 € = 41.7060 RUB
1 € = 2.0851 TRY
1 € = 1.5765 AUD
1 € = 2.5681 BRL
1 € = 1.4640 CAD
1 € = 9.3355 CNY
1 € = 10.6263 HKD
1 € = 12861.76 IDR
1 € = 64.0130 INR
1 € = 1602.60 KRW
1 € = 18.0130 MXN
1 € = 4.7063 MYR
1 € = 1.9914 NZD
1 € = 63.705 PHP
1 € = 1.9450 SGD
1 € = 45.387 THB
1 € = 10.6097 ZAR