var trate_time='2024,05,07,11,50(กรุงเทพฯ)';var tttime=new Date(2024,05,07,11,50);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 ALL
อเมริกาเหนือ
  USD92.25092 
  CAD67.43088 
  MXN5.26233 
ทวีปอเมริกาใต้
  ARS0.10268 
  BOB14.12429 
  BRL17.5162 
  CLP0.10181 
  COP 
  FKP117.92453 
  GYD0.44271 
  VEB0.02571 
  VEF 
อเมริกากลาง
  CRC0.17697 
  HNL3.75432 
  HTG0.69474 
  JMD0.59363 
  KYD113.76564 
  NIO2.52468 
  PYG0.01225 
  XCD34.16467 
EUROPE
  ADP0.60271 
  ALL
  ATS7.28757 
  BAM51.22951 
  BEF2.48589 
  BGN0.05154 
  CHF103.51967 
  CZK4.07 
  DEM51.28205 
  DKK13.43905 
  EEK6.42715 
  ESP0.60271 
  EUR100.2004 
  FIM16.86625 
  FRF15.28818 
  GBP117.92453 
  GRD0.2943 
  HRK12.9668 
  HUF 
  IEP127.38854 
  ISK 
  ITL0.05179 
  LTL28.58776 
  LUF2.48589 
  LVL140.44944 
  MDL5.20806 
  MTL233.64486 
  NLG45.49591 
  NOK8.75197 
  PLN23.34267 
  PTE0.50021 
  RON20.14099 
  RUB1.0395 
  SEK8.8574 
  TRY2.84706 
  UAH2.28969 
  YUM51.22951 
ASIA
  BND68.5401 
  BTN1.10314 
  BYR 
  CNY12.73237 
  GEL33.33333 
  HKD11.80916 
  IDR 
  INR1.10545 
  JPY0.59183 
  KRW0.06721 
  KZT 
  LKR 
  MMK0.04391 
  MNT0.02738 
  MOP11.45869 
  MVR6.15082 
  MYR19.64637 
  NPR 
  NTD2.94733 
  PGK24.10219 
  PHP1.57097 
  PKR 
  SGD68.5401 
  THB2.52864 
  TJR0.08532 
  TJS8.5317 
  TMT26.35741 
  UZS0.00729 
  VND0.00362 
OCEANIA
  AUD61.46281 
  NZD57.30659 
  XPF0.84037 
ตะวันออกกลาง
  AED25.12563 
  BHD 
  CYP171.23288 
  ILS 
  IRR 
  JOD130.3781 
  KWD301.20482 
  LBP0.00103 
  OMR239.80815 
  QAR 
  SAR24.6063 
  SYP0.00738 
  YER0.36853 
อัฟริกา
  AOA0.10875 
  BIF0.0323 
  CVE0.99092 
  DJF0.51617 
  EGP1.95221 
  GMD1.36179 
  KES0.70899 
  KMF0.20384 
  LYD 
  MAD9.26012 
  MGA0.02088 
  NAD4.90581 
  NGN0.06428 
  RWF0.07158 
  SDG0.15744 
  SZL4.96697 
  TND29.5683 
  UGX0.02418 
  XAF0.15288 
  XOF0.15533 
  ZAR4.87995 
  ZMK0.00548 
")