var trate_time='2024,04,21,01,01(กรุงเทพฯ)';var tttime=new Date(2024,04,21,01,01);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 MYR
อเมริกาเหนือ
  USD4.68604 
  CAD3.44614 
  MXN0.28226 
ทวีปอเมริกาใต้
  ARS0.00567 
  BOB0.70858 
  BRL0.91722 
  CLP0.00522 
  COP 
  FKP5.93014 
  GYD0.02243 
  VEB0.00131 
  VEF 
อเมริกากลาง
  CRC0.00911 
  HNL0.19091 
  HTG0.03553 
  JMD0.03019 
  KYD5.77934 
  NIO0.12817 
  PYG0.00064 
  XCD1.73524 
EUROPE
  ADP0.03055 
  ALL0.04885 
  ATS0.36946 
  BAM2.59767 
  BEF0.12603 
  BGN0.00261 
  CHF5.15783 
  CZK0.2056 
  DEM2.59929 
  DKK0.68186 
  EEK0.32582 
  ESP0.03055 
  EUR5.08958 
  FIM0.85503 
  FRF0.77502 
  GBP5.95274 
  GRD0.01492 
  HRK0.65853 
  HUF 
  IEP6.45536 
  ISK 
  ITL0.00263 
  LTL1.4518 
  LUF0.12603 
  LVL7.13267 
  MDL0.26398 
  MTL11.84273 
  NLG2.30691 
  NOK0.43729 
  PLN1.19696 
  PTE0.02536 
  RON1.02036 
  RUB0.05169 
  SEK0.43826 
  TRY0.14524 
  UAH0.11883 
  YUM2.59767 
ASIA
  BND3.48396 
  BTN0.05599 
  BYR16666.66667 
  CNY0.64797 
  GEL1.76622 
  HKD0.60065 
  IDR 
  INR0.0562 
  JPY0.03007 
  KRW0.00346 
  KZT 
  LKR 
  MMK0.00223 
  MNT0.00139 
  MOP0.58121 
  MVR0.31239 
  MYR
  NPR 
  NTD0.14969 
  PGK1.24721 
  PHP0.08129 
  PKR 
  SGD3.48396 
  THB0.13013 
  TJR0.00428 
  TJS0.42769 
  TMT1.33863 
  UZS0.00038 
  VND0.00019 
OCEANIA
  AUD3.14159 
  NZD2.8729 
  XPF0.0426 
ตะวันออกกลาง
  AED1.27597 
  BHD 
  CYP8.68583 
  ILS 
  IRR 
  JOD6.61857 
  KWD15.27884 
  LBP5.0E-5 
  OMR12.18769 
  QAR 
  SAR1.24959 
  SYP0.00037 
  YER0.01872 
อัฟริกา
  AOA0.00566 
  BIF0.00165 
  CVE0.05024 
  DJF0.02622 
  EGP0.15194 
  GMD0.06916 
  KES0.03215 
  KMF0.01033 
  LYD 
  MAD0.46393 
  MGA0.00103 
  NAD0.25682 
  NGN0.00297 
  RWF0.0037 
  SDG0.0078 
  SZL0.24402 
  TND1.50168 
  UGX0.00119 
  XAF0.00775 
  XOF0.00789 
  ZAR0.25842 
  ZMK0.00028 
")