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.2725 USD1 € = 106.84 JPY1 € = 1.9558 BGN1 € = 24.681 CZK1 € = 7.4452 DKK1 € = 15.6466 EEK1 € = 0.82340 GBP1 € = 283.85 HUF1 € = 3.4528 LTL1 € = 0.7088 LVL1 € = 3.9338 PLN1 € = 4.2740 RON1 € = 9.2019 SEK1 € = 1.3020 CHF1 € = 7.8760 NOK1 € = 7.2843 HRK1 € = 39.2820 RUB1 € = 1.9164 TRY1 € = 1.3739 AUD1 € = 2.1867 BRL1 € = 1.3118 CAD1 € = 8.6138 CNY1 € = 9.8844 HKD1 € = 11383.90 IDR1 € = 58.8400 INR1 € = 1484.75 KRW1 € = 16.4903 MXN1 € = 3.9538 MYR1 € = 1.7446 NZD1 € = 55.950 PHP1 € = 1.7054 SGD1 € = 39.165 THB1 € = 9.1384 ZAR
Quelle: EZB