var trate_time='2024,04,03,00,06(กรุงเทพฯ)';var tttime=new Date(2024,04,03,00,06);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 DJF
อเมริกาเหนือ
  USD178.89088 
  CAD130.03901 
  MXN10.45697 
ทวีปอเมริกาใต้
  ARS0.21614 
  BOB26.69514 
  BRL34.56619 
  CLP0.18732 
  COP 
  FKP224.21525 
  GYD0.85561 
  VEB0.0498 
  VEF 
อเมริกากลาง
  CRC0.3476 
  HNL7.28226 
  HTG1.35523 
  JMD1.15156 
  KYD220.26432 
  NIO4.88902 
  PYG0.02455 
  XCD66.18134 
EUROPE
  ADP1.13095 
  ALL1.86359 
  ATS13.67428 
  BAM96.15385 
  BEF4.66483 
  BGN0.09671 
  CHF196.07843 
  CZK7.62253 
  DEM96.24639 
  DKK25.69373 
  EEK12.05982 
  ESP1.13095 
  EUR191.57088 
  FIM31.64557 
  FRF28.68617 
  GBP223.71365 
  GRD0.55224 
  HRK25.11932 
  HUF 
  IEP238.66348 
  ISK 
  ITL0.09718 
  LTL55.37099 
  LUF4.66483 
  LVL271.73913 
  MDL10.03512 
  MTL438.59649 
  NLG85.3971 
  NOK16.21797 
  PLN44.16961 
  PTE0.93861 
  RON38.92565 
  RUB1.94791 
  SEK16.30258 
  TRY5.52029 
  UAH4.50572 
  YUM96.15385 
ASIA
  BND131.40604 
  BTN2.13461 
  BYR 
  CNY24.68526 
  GEL67.38544 
  HKD22.84148 
  IDR 
  INR2.14192 
  JPY1.14583 
  KRW0.12972 
  KZT 
  LKR 
  MMK0.08516 
  MNT0.05285 
  MOP22.17295 
  MVR11.91611 
  MYR37.50938 
  NPR 
  NTD5.71004 
  PGK47.57374 
  PHP3.09857 
  PKR 
  SGD131.40604 
  THB4.8398 
  TJR0.16314 
  TJS16.31321 
  TMT51.07252 
  UZS0.01431 
  VND0.00726 
OCEANIA
  AUD116.95906 
  NZD105.9322 
  XPF1.57691 
ตะวันออกกลาง
  AED48.80429 
  BHD 
  CYP321.54341 
  ILS 
  IRR 
  JOD252.52525 
  KWD581.39535 
  LBP0.002 
  OMR465.11628 
  QAR 
  SAR47.77831 
  SYP0.0143 
  YER0.71414 
อัฟริกา
  AOA0.21574 
  BIF0.0629 
  CVE1.85943 
  DJF
  EGP5.79576 
  GMD2.63824 
  KES1.22633 
  KMF0.3825 
  LYD 
  MAD17.69598 
  MGA0.03943 
  NAD9.54563 
  NGN0.11317 
  RWF0.14112 
  SDG0.29742 
  SZL9.30839 
  TND57.27377 
  UGX0.04539 
  XAF0.28687 
  XOF0.30093 
  ZAR9.55749 
  ZMK0.01061 
")