var trate_time='2024,03,27,21,33(กรุงเทพฯ)';var tttime=new Date(2024,03,27,21,33);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 FIM
อเมริกาเหนือ
  USD5.54939 
  CAD4.06009 
  MXN0.32348 
ทวีปอเมริกาใต้
  ARS0.00671 
  BOB0.8266 
  BRL1.08432 
  CLP0.00585 
  COP 
  FKP6.94203 
  GYD0.02656 
  VEB0.00155 
  VEF 
อเมริกากลาง
  CRC0.01079 
  HNL0.22608 
  HTG0.04207 
  JMD0.03575 
  KYD6.84416 
  NIO0.15178 
  PYG0.00076 
  XCD2.05491 
EUROPE
  ADP0.03573 
  ALL0.05786 
  ATS0.43209 
  BAM3.03822 
  BEF0.14739 
  BGN0.00306 
  CHF6.08273 
  CZK0.23633 
  DEM3.04007 
  DKK0.79728 
  EEK0.38107 
  ESP0.03573 
  EUR5.9453 
  FIM
  FRF0.90642 
  GBP6.94444 
  GRD0.01745 
  HRK0.77984 
  HUF 
  IEP7.54888 
  ISK 
  ITL0.00307 
  LTL1.71928 
  LUF0.14739 
  LVL8.44666 
  MDL0.31078 
  MTL13.8485 
  NLG2.69804 
  NOK0.50387 
  PLN1.37887 
  PTE0.02966 
  RON1.20834 
  RUB0.06031 
  SEK0.50794 
  TRY0.17082 
  UAH0.13988 
  YUM3.03822 
ASIA
  BND4.0788 
  BTN0.06633 
  BYR20000 
  CNY0.76584 
  GEL2.09161 
  HKD0.70887 
  IDR 
  INR0.06659 
  JPY0.03566 
  KRW0.00403 
  KZT 
  LKR 
  MMK0.00264 
  MNT0.00164 
  MOP0.68828 
  MVR0.36994 
  MYR1.16155 
  NPR 
  NTD0.17727 
  PGK1.47697 
  PHP0.09589 
  PKR 
  SGD4.0788 
  THB0.14998 
  TJR0.00506 
  TJS0.50649 
  TMT1.58524 
  UZS0.00044 
  VND0.00023 
OCEANIA
  AUD3.62871 
  NZD3.31104 
  XPF0.04983 
ตะวันออกกลาง
  AED1.51055 
  BHD 
  CYP10.1595 
  ILS 
  IRR 
  JOD7.83822 
  KWD18.02451 
  LBP6.0E-5 
  OMR14.42793 
  QAR 
  SAR1.47933 
  SYP0.00044 
  YER0.02217 
อัฟริกา
  AOA0.0067 
  BIF0.00195 
  CVE0.05875 
  DJF0.03105 
  EGP0.17993 
  GMD0.0819 
  KES0.03807 
  KMF0.01209 
  LYD 
  MAD0.5494 
  MGA0.00122 
  NAD0.29334 
  NGN0.00351 
  RWF0.00438 
  SDG0.00923 
  SZL0.28898 
  TND1.77835 
  UGX0.00141 
  XAF0.00906 
  XOF0.00934 
  ZAR0.29223 
  ZMK0.00033 
")