var trate_time='2024,04,08,23,14(กรุงเทพฯ)';var tttime=new Date(2024,04,08,23,14);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 YER
อเมริกาเหนือ
  USD250 
  CAD182.48175 
  MXN14.78415 
ทวีปอเมริกาใต้
  ARS0.30266 
  BOB37.46722 
  BRL49.40711 
  CLP0.2679 
  COP 
  FKP314.46541 
  GYD1.19809 
  VEB0.06974 
  VEF 
อเมริกากลาง
  CRC0.48673 
  HNL10.19784 
  HTG1.89768 
  JMD1.61251 
  KYD308.64198 
  NIO6.84603 
  PYG0.03438 
  XCD92.67841 
EUROPE
  ADP1.61972 
  ALL2.60954 
  ATS19.5848 
  BAM137.74105 
  BEF6.68092 
  BGN0.13851 
  CHF275.48209 
  CZK10.76542 
  DEM137.74105 
  DKK36.04903 
  EEK17.27116 
  ESP1.61972 
  EUR268.8172 
  FIM45.33092 
  FRF41.08463 
  GBP312.5 
  GRD0.7909 
  HRK35.17411 
  HUF 
  IEP342.46575 
  ISK 
  ITL0.13918 
  LTL77.51938 
  LUF6.68092 
  LVL381.67939 
  MDL14.19849 
  MTL628.93082 
  NLG122.24939 
  NOK23.00966 
  PLN62.2665 
  PTE1.34425 
  RON54.49591 
  RUB2.72591 
  SEK23.04147 
  TRY7.75615 
  UAH6.3597 
  YUM137.74105 
ASIA
  BND184.50185 
  BTN2.98659 
  BYR 
  CNY34.63803 
  GEL94.33962 
  HKD32.01024 
  IDR 
  INR2.99706 
  JPY1.61608 
  KRW0.18434 
  KZT 
  LKR 
  MMK0.11924 
  MNT0.074 
  MOP31.04626 
  MVR16.68613 
  MYR52.74262 
  NPR 
  NTD7.99552 
  PGK66.62225 
  PHP4.37235 
  PKR 
  SGD184.50185 
  THB6.76911 
  TJR0.22845 
  TJS22.8467 
  TMT71.47963 
  UZS0.02004 
  VND0.01016 
OCEANIA
  AUD164.74465 
  NZD149.92504 
  XPF2.25841 
ตะวันออกกลาง
  AED68.07352 
  BHD 
  CYP460.82949 
  ILS 
  IRR 
  JOD353.35689 
  KWD813.00813 
  LBP0.0028 
  OMR649.35065 
  QAR 
  SAR66.66667 
  SYP0.02002 
  YER
อัฟริกา
  AOA0.30209 
  BIF0.08808 
  CVE2.66304 
  DJF1.40029 
  EGP8.11557 
  GMD3.69426 
  KES1.71721 
  KMF0.54781 
  LYD 
  MAD24.78315 
  MGA0.05522 
  NAD13.54646 
  NGN0.15847 
  RWF0.19761 
  SDG0.41647 
  SZL13.03441 
  TND80.19246 
  UGX0.06357 
  XAF0.41084 
  XOF0.42138 
  ZAR13.46439 
  ZMK0.01486 
")