var trate_time='2024,04,03,02,24(กรุงเทพฯ)';var tttime=new Date(2024,04,03,02,24);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 IDR
อเมริกาเหนือ
  USD14285.71429 
  CAD11111.11111 
  MXN746.26866 
ทวีปอเมริกาใต้
  ARS151.51515 
  BOB2222.22222 
  BRL2857.14286 
  CLP17.17918 
  COP3.59648 
  FKP16666.66667 
  GYD73.04602 
  VEB1.47269 
  VEF1470.58824 
อเมริกากลาง
  CRC22.79462 
  HNL625 
  HTG125 
  JMD100.50251 
  KYD20000 
  NIO425.53191 
  PYG2.21543 
  XCD5555.55556 
EUROPE
  ADP87.48906 
  ALL135.68521 
  ATS1052.63158 
  BAM7692.30769 
  BEF361.01083 
  BGN7.48223 
  CHF16666.66667 
  CZK591.71598 
  DEM7692.30769 
  DKK1960.78431 
  EEK934.57944 
  ESP87.48906 
  EUR14285.71429 
  FIM2439.02439 
  FRF2222.22222 
  GBP16666.66667 
  GRD42.71679 
  HRK1923.07692 
  HUF35.36068 
  IEP20000 
  ISK104.16667 
  ITL7.5188 
  LTL4761.90476 
  LUF361.01083 
  LVL25000 
  MDL781.25 
  MTL33333.33333 
  NLG6666.66667 
  NOK1388.88889 
  PLN3030.30303 
  PTE72.62164 
  RON3225.80645 
  RUB191.20459 
  SEK1333.33333 
  TRY819.67213 
  UAH416.66667 
  YUM7692.30769 
ASIA
  BND11111.11111 
  BTN185.52876 
  BYR 
  CNY2127.65957 
  GEL5555.55556 
  HKD1923.07692 
  IDR
  INR186.21974 
  JPY105.15247 
  KRW10.59771 
  KZT31.82686 
  LKR42.55319 
  MMK7.24743 
  MNT4.79547 
  MOP1886.79245 
  MVR1010.10101 
  MYR3333.33333 
  NPR119.61722 
  NTD478.4689 
  PGK4347.82609 
  PHP257.73196 
  PKR71.32668 
  SGD11111.11111 
  THB396.8254 
  TJR14.8214 
  TJS1492.53731 
  TMT4347.82609 
  UZS1.40083 
  VND0.6511 
OCEANIA
  AUD10000 
  NZD8333.33333 
  XPF121.95122 
ตะวันออกกลาง
  AED4166.66667 
  BHD50000 
  CYP25000 
  ILS4347.82609 
  IRR0.35981 
  JOD20000 
  KWD50000 
  LBP10.09591 
  OMR33333.33333 
  QAR4166.66667 
  SAR4000 
  SYP5.43567 
  YER28.09778 
อัฟริกา
  AOA35.86801 
  BIF7.52162 
  CVE143.88489 
  DJF85.17888 
  EGP800 
  GMD282.48588 
  KES127.71392 
  KMF29.59455 
  LYD3125 
  MAD1492.53731 
  MGA3.71099 
  NAD840.33613 
  NGN35.82945 
  RWF14.86989 
  SDG26.79528 
  SZL943.39623 
  TND4761.90476 
  UGX3.99616 
  XAF22.19263 
  XOF23.76426 
  ZAR840.33613 
  ZMK0.90363 
")