var trate_time='2024,05,06,14,58(กรุงเทพฯ)';var tttime=new Date(2024,05,06,14,58);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 RON
อเมริกาเหนือ
  USD4.58085 
  CAD3.34471 
  MXN0.26088 
ทวีปอเมริกาใต้
  ARS0.0051 
  BOB0.70129 
  BRL0.86702 
  CLP0.00506 
  COP 
  FKP5.85206 
  GYD0.02198 
  VEB0.00128 
  VEF 
อเมริกากลาง
  CRC0.00879 
  HNL0.1864 
  HTG0.03449 
  JMD0.02947 
  KYD5.64972 
  NIO0.12535 
  PYG0.00061 
  XCD1.69632 
EUROPE
  ADP0.02992 
  ALL0.04965 
  ATS0.36183 
  BAM2.54408 
  BEF0.12342 
  BGN0.00256 
  CHF5.13321 
  CZK0.20198 
  DEM2.54563 
  DKK0.667 
  EEK0.3191 
  ESP0.02992 
  EUR4.98033 
  FIM0.83738 
  FRF0.75903 
  GBP5.85035 
  GRD0.01461 
  HRK0.64375 
  HUF 
  IEP6.32191 
  ISK 
  ITL0.00257 
  LTL1.41924 
  LUF0.12342 
  LVL6.97253 
  MDL0.25858 
  MTL11.59689 
  NLG2.25927 
  NOK0.43733 
  PLN1.15659 
  PTE0.02483 
  RON
  RUB0.05162 
  SEK0.43967 
  TRY0.14135 
  UAH0.11368 
  YUM2.54408 
ASIA
  BND3.40263 
  BTN0.05477 
  BYR14285.71429 
  CNY0.63221 
  GEL1.65489 
  HKD0.58632 
  IDR 
  INR0.05493 
  JPY0.02951 
  KRW0.00334 
  KZT 
  LKR 
  MMK0.00218 
  MNT0.00136 
  MOP0.56889 
  MVR0.30538 
  MYR0.97476 
  NPR 
  NTD0.14633 
  PGK1.19662 
  PHP0.07806 
  PKR 
  SGD3.40263 
  THB0.12518 
  TJR0.00424 
  TJS0.42359 
  TMT1.30875 
  UZS0.00036 
  VND0.00018 
OCEANIA
  AUD3.0499 
  NZD2.83439 
  XPF0.04172 
ตะวันออกกลาง
  AED1.24735 
  BHD 
  CYP8.50702 
  ILS 
  IRR 
  JOD6.4704 
  KWD14.9611 
  LBP5.0E-5 
  OMR11.91327 
  QAR 
  SAR1.22157 
  SYP0.00037 
  YER0.0183 
อัฟริกา
  AOA0.0054 
  BIF0.0016 
  CVE0.0492 
  DJF0.02563 
  EGP0.09693 
  GMD0.06761 
  KES0.0352 
  KMF0.01012 
  LYD 
  MAD0.45977 
  MGA0.00104 
  NAD0.24356 
  NGN0.00319 
  RWF0.00355 
  SDG0.00782 
  SZL0.2466 
  TND1.468 
  UGX0.0012 
  XAF0.00759 
  XOF0.00771 
  ZAR0.24363 
  ZMK0.00027 
")