var trate_time='2024,04,03,23,14(กรุงเทพฯ)';var tttime=new Date(2024,04,03,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 AED
อเมริกาเหนือ
  USD3.6622 
  CAD2.67215 
  MXN0.21681 
ทวีปอเมริกาใต้
  ARS0.00443 
  BOB0.54489 
  BRL0.7176 
  CLP0.00384 
  COP 
  FKP4.57708 
  GYD0.01753 
  VEB0.00102 
  VEF 
อเมริกากลาง
  CRC0.00712 
  HNL0.1492 
  HTG0.02777 
  JMD0.02359 
  KYD4.51671 
  NIO0.10016 
  PYG0.0005 
  XCD1.35612 
EUROPE
  ADP0.02353 
  ALL0.03818 
  ATS0.28452 
  BAM2.00056 
  BEF0.09705 
  BGN0.00201 
  CHF4.03633 
  CZK0.15729 
  DEM2.00176 
  DKK0.52756 
  EEK0.25092 
  ESP0.02353 
  EUR3.93484 
  FIM0.65848 
  FRF0.59686 
  GBP4.59897 
  GRD0.01149 
  HRK0.51465 
  HUF 
  IEP4.97117 
  ISK 
  ITL0.00202 
  LTL1.13465 
  LUF0.09705 
  LVL5.57414 
  MDL0.20723 
  MTL9.1191 
  NLG1.77664 
  NOK0.33321 
  PLN0.90738 
  PTE0.01953 
  RON0.79743 
  RUB0.03994 
  SEK0.33632 
  TRY0.11311 
  UAH0.09239 
  YUM2.00056 
ASIA
  BND2.70695 
  BTN0.04371 
  BYR12500 
  CNY0.50719 
  GEL1.38034 
  HKD0.46834 
  IDR 
  INR0.04392 
  JPY0.02354 
  KRW0.00266 
  KZT 
  LKR 
  MMK0.00174 
  MNT0.00108 
  MOP0.45423 
  MVR0.24414 
  MYR0.7727 
  NPR 
  NTD0.11698 
  PGK0.97472 
  PHP0.06378 
  PKR 
  SGD2.70695 
  THB0.09948 
  TJR0.00334 
  TJS0.33425 
  TMT1.04617 
  UZS0.00029 
  VND0.00015 
OCEANIA
  AUD2.40935 
  NZD2.18794 
  XPF0.03281 
ตะวันออกกลาง
  AED
  BHD 
  CYP6.68896 
  ILS 
  IRR 
  JOD5.1725 
  KWD11.93745 
  LBP4.0E-5 
  OMR9.55201 
  QAR 
  SAR0.97936 
  SYP0.00029 
  YER0.01463 
อัฟริกา
  AOA0.00442 
  BIF0.00129 
  CVE0.03869 
  DJF0.02049 
  EGP0.11874 
  GMD0.05405 
  KES0.02512 
  KMF0.00796 
  LYD 
  MAD0.36257 
  MGA0.00081 
  NAD0.19632 
  NGN0.00232 
  RWF0.00289 
  SDG0.00609 
  SZL0.19071 
  TND1.1736 
  UGX0.00093 
  XAF0.00597 
  XOF0.00617 
  ZAR0.19729 
  ZMK0.00022 
")