var trate_time='2024,04,21,03,19(กรุงเทพฯ)';var tttime=new Date(2024,04,21,03,19);var tttime2='(กรุงเทพฯ)';var tformat=1; var trate_vvv=document.getElementById("forex2_link"),trate_ok=false;if(trate_vvv!=null)if(typeof(trate_vvv)=="object")if((trate_vvv.getAttribute("href")).toLowerCase().indexOf("rateq")!=-1)trate_ok=true;if(trate_ok==false)alert("link error, please get full code from http://th.rateq.com");if(typeof(tttime)=="object"){mytype=tformat;var clock_hours=tttime.getHours();if(clock_hours<10)clock_hours="0"+clock_hours;var clock_minutes=tttime.getMinutes();if(clock_minutes<10)clock_minutes="0"+clock_minutes;var clock_seconds=tttime.getSeconds(),nday=tttime.getDay();if(nday==0)nday="วันอาทิตย์";else if(nday==1)nday="วันจันทร์";else if(nday==2)nday="วันอังคาร";else if(nday==3)nday="พุธ";else if(nday==4)nday="วันพฤหัสบดี";else if(nday==5)nday="วันศุกร์";else if(nday==6)nday="เสาร์";var nmonth=tttime.getMonth(),ntoday=tttime.getDate(),nyear=tttime.getYear();if(nyear<=99)nyear="19"+nyear;if((nyear>99)&&(nyear<2000))nyear+=1900;var nmonth_f="";if(nmonth==0)nmonth_f="มกราคม";else if(nmonth==1)nmonth_f="กุมภาพันธ์";else if(nmonth==2)nmonth_f="เดือนมีนาคม";else if(nmonth==3)nmonth_f="เมษายน";else if(nmonth==4)nmonth_f="อาจ ";else if(nmonth==5)nmonth_f="มิถุนายน";else if(nmonth==6)nmonth_f="กรกฎาคม";else if(nmonth==7)nmonth_f="สิงหาคม";else if(nmonth==8)nmonth_f="กันยายน";else if(nmonth==9)nmonth_f="ตุลาคม";else if(nmonth==10)nmonth_f="พฤศจิกายน";else if(nmonth==11)nmonth_f="ธันวาคม";nmonth=nmonth+1;var tmp="",chi_day=" "+""+"",chi_month=" "+""+"",chi_year=" "+""+"";if(mytype==1)tmp=nmonth_f+" "+ntoday+chi_day+" "+nyear+" "+clock_hours+":"+clock_minutes;else if(mytype==2)tmp=ntoday+chi_day+""+nmonth_f+" "+nyear+" "+clock_hours+":"+clock_minutes;else if(mytype==3)tmp=nmonth+"/"+ntoday+"/"+nyear+" "+clock_hours+":"+clock_minutes;else if(mytype==4)tmp=ntoday+"/"+nmonth+"/"+nyear+" "+clock_hours+":"+clock_minutes;else if(mytype==5)tmp=nyear+"/"+nmonth+"/"+ntoday+" "+clock_hours+":"+clock_minutes;else if(mytype==6)tmp=nyear+"-"+nmonth+"-"+ntoday+" "+clock_hours+":"+clock_minutes;else if(mytype==7)tmp=nmonth_f+" "+ntoday+chi_day+""+nyear+" "+nday+" "+clock_hours+":"+clock_minutes;else if(mytype==8)tmp=ntoday+chi_day+""+nmonth_f+" "+nyear+" "+nday+" "+clock_hours+":"+clock_minutes;else if(mytype==9)tmp=nmonth+"/"+ntoday+"/"+nyear+" "+nday+" "+clock_hours+":"+clock_minutes;else if(mytype==10)tmp=ntoday+"/"+nmonth+"/"+nyear+" "+nday+" "+clock_hours+":"+clock_minutes;else if(mytype==11)tmp=nyear+"/"+nmonth+"/"+ntoday+" "+nday+" "+clock_hours+":"+clock_minutes;else if(mytype==12)tmp=nyear+"-"+nmonth+"-"+ntoday+" "+nday+" "+clock_hours+":"+clock_minutes;else if(mytype==13)tmp=nyear+chi_year+""+nmonth+chi_month+""+ntoday+chi_day+""+nday+" "+clock_hours+":"+clock_minutes;else if(mytype==14)tmp=nday+", "+nmonth_f+" "+ntoday+chi_day+""+nyear+" "+clock_hours+":"+clock_minutes;else if(mytype==15)tmp=nday+", "+ntoday+chi_day+""+nmonth_f+" "+nyear+" "+clock_hours+":"+clock_minutes;else if(mytype==16)tmp=nday+" "+nmonth_f+" "+ntoday+chi_day+""+nyear+" "+clock_hours+":"+clock_minutes;else if(mytype==17)tmp=nday+" "+ntoday+chi_day+""+nmonth_f+" "+nyear+" "+clock_hours+":"+clock_minutes;trate_time=tmp+tttime2}document.write("
"+trate_time+"
in EUR
อเมริกาเหนือ
  USD0.9207 
  CAD0.67708 
  MXN0.05558 
ทวีปอเมริกาใต้
  ARS0.00111 
  BOB0.1396 
  BRL0.18021 
  CLP0.00103 
  COP 
  FKP1.16767 
  GYD0.00441 
  VEB0.00026 
  VEF 
อเมริกากลาง
  CRC0.00179 
  HNL0.03751 
  HTG0.00698 
  JMD0.00593 
  KYD1.13555 
  NIO0.02518 
  PYG0.00013 
  XCD0.34094 
EUROPE
  ADP0.00601 
  ALL0.0096 
  ATS0.07264 
  BAM0.51076 
  BEF0.02478 
  BGN0.00051 
  CHF1.01343 
  CZK0.0404 
  DEM0.51105 
  DKK0.13397 
  EEK0.06406 
  ESP0.00601 
  EUR
  FIM0.16811 
  FRF0.15238 
  GBP1.16959 
  GRD0.00293 
  HRK0.12939 
  HUF 
  IEP1.26923 
  ISK 
  ITL0.00052 
  LTL0.28525 
  LUF0.02478 
  LVL1.40136 
  MDL0.05196 
  MTL2.32851 
  NLG0.45357 
  NOK0.08603 
  PLN0.23518 
  PTE0.00499 
  RON0.20048 
  RUB0.01016 
  SEK0.08611 
  TRY0.02859 
  UAH0.02335 
  YUM0.51076 
ASIA
  BND0.68453 
  BTN0.01101 
  BYR3030.30303 
  CNY0.12731 
  GEL0.34703 
  HKD0.11802 
  IDR 
  INR0.01104 
  JPY0.00591 
  KRW0.00068 
  KZT 
  LKR 
  MMK0.00044 
  MNT0.00027 
  MOP0.1142 
  MVR0.06138 
  MYR0.19648 
  NPR 
  NTD0.02941 
  PGK0.24505 
  PHP0.01597 
  PKR 
  SGD0.68453 
  THB0.02557 
  TJR0.00084 
  TJS0.08403 
  TMT0.26301 
  UZS7.0E-5 
  VND4.0E-5 
OCEANIA
  AUD0.61726 
  NZD0.56446 
  XPF0.00838 
ตะวันออกกลาง
  AED0.2507 
  BHD 
  CYP1.70785 
  ILS 
  IRR 
  JOD1.30042 
  KWD3.00192 
  LBP1.0E-5 
  OMR2.39452 
  QAR 
  SAR0.24552 
  SYP7.0E-5 
  YER0.00368 
อัฟริกา
  AOA0.00111 
  BIF0.00032 
  CVE0.00988 
  DJF0.00515 
  EGP0.02985 
  GMD0.01359 
  KES0.00632 
  KMF0.00203 
  LYD 
  MAD0.09115 
  MGA0.0002 
  NAD0.05053 
  NGN0.00058 
  RWF0.00073 
  SDG0.00153 
  SZL0.04794 
  TND0.29505 
  UGX0.00023 
  XAF0.00152 
  XOF0.00155 
  ZAR0.05077 
  ZMK5.0E-5 
")