Navigation Path: Home > Statistics > Exchange rates > Euro foreign exchange reference rates
The reference rates are based on the regular daily concertation procedure between central banks within and outside the European System of Central Banks, which normally takes place at 2.15 p.m. (14:15) ECB time.
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 14:15 and 15:00 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.3275 USD
1 € = 130.34 JPY
1 € = 1.9558 BGN
1 € = 26.701 CZK
1 € = 7.4484 DKK
1 € = 15.6466 EEK
1 € = 0.89335 GBP
1 € = 289.73 HUF
1 € = 3.4528 LTL
1 € = 0.7093 LVL
1 € = 4.3993 PLN
1 € = 4.1892 RON
1 € = 10.6915 SEK
1 € = 1.5066 CHF
1 € = 8.7245 NOK
1 € = 7.4101 HRK
1 € = 43.8630 RUB
1 € = 2.1145 TRY
1 € = 1.8146 AUD
1 € = 2.8850 BRL
1 € = 1.5786 CAD
1 € = 9.0575 CNY
1 € = 10.2881 HKD
1 € = 14071.50 IDR
1 € = 66.2620 INR
1 € = 1696.88 KRW
1 € = 18.2950 MXN
1 € = 4.7259 MYR
1 € = 2.3378 NZD
1 € = 63.924 PHP
1 € = 1.9620 SGD
1 € = 46.808 THB
1 € = 11.2426 ZAR