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 CHF
อเมริกาเหนือ
  USD0.9085 
  CAD0.66811 
  MXN0.05472 
ทวีปอเมริกาใต้
  ARS0.0011 
  BOB0.13738 
  BRL0.17783 
  CLP0.00101 
  COP 
  FKP1.1497 
  GYD0.00435 
  VEB0.00025 
  VEF 
อเมริกากลาง
  CRC0.00177 
  HNL0.03701 
  HTG0.00689 
  JMD0.00585 
  KYD1.1205 
  NIO0.02485 
  PYG0.00012 
  XCD0.33642 
EUROPE
  ADP0.00592 
  ALL0.00947 
  ATS0.07163 
  BAM0.50363 
  BEF0.02443 
  BGN0.00051 
  CHF
  CZK0.03986 
  DEM0.50394 
  DKK0.1322 
  EEK0.06317 
  ESP0.00592 
  EUR0.98675 
  FIM0.16577 
  FRF0.15026 
  GBP1.15409 
  GRD0.00289 
  HRK0.12767 
  HUF 
  IEP1.25155 
  ISK 
  ITL0.00051 
  LTL0.28147 
  LUF0.02443 
  LVL1.3828 
  MDL0.05118 
  MTL2.29595 
  NLG0.44725 
  NOK0.08478 
  PLN0.23206 
  PTE0.00492 
  RON0.19782 
  RUB0.01002 
  SEK0.08497 
  TRY0.02816 
  UAH0.02304 
  YUM0.50363 
ASIA
  BND0.67547 
  BTN0.01086 
  BYR3030.30303 
  CNY0.12563 
  GEL0.34243 
  HKD0.11645 
  IDR 
  INR0.0109 
  JPY0.00583 
  KRW0.00067 
  KZT 
  LKR 
  MMK0.00043 
  MNT0.00027 
  MOP0.11268 
  MVR0.06056 
  MYR0.19388 
  NPR 
  NTD0.02902 
  PGK0.2418 
  PHP0.01576 
  PKR 
  SGD0.67547 
  THB0.02523 
  TJR0.00083 
  TJS0.08292 
  TMT0.25953 
  UZS7.0E-5 
  VND4.0E-5 
OCEANIA
  AUD0.60908 
  NZD0.55699 
  XPF0.00826 
ตะวันออกกลาง
  AED0.24738 
  BHD 
  CYP1.68396 
  ILS 
  IRR 
  JOD1.28319 
  KWD2.96217 
  LBP1.0E-5 
  OMR2.36278 
  QAR 
  SAR0.24227 
  SYP7.0E-5 
  YER0.00363 
อัฟริกา
  AOA0.0011 
  BIF0.00032 
  CVE0.00974 
  DJF0.00508 
  EGP0.02946 
  GMD0.01341 
  KES0.00623 
  KMF0.002 
  LYD 
  MAD0.08994 
  MGA0.0002 
  NAD0.04979 
  NGN0.00058 
  RWF0.00072 
  SDG0.00151 
  SZL0.04731 
  TND0.29114 
  UGX0.00023 
  XAF0.0015 
  XOF0.00153 
  ZAR0.0501 
  ZMK5.0E-5 
")