var trate_time='2024,04,23,13,20(กรุงเทพฯ)';var tttime=new Date(2024,04,23,13,20);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 ADP
อเมริกาเหนือ
  USD153.60983 
  CAD112.23345 
  MXN9.22509 
ทวีปอเมริกาใต้
  ARS0.18561 
  BOB23.35903 
  BRL30.04808 
  CLP0.1731 
  COP 
  FKP195.3125 
  GYD0.73476 
  VEB0.04277 
  VEF 
อเมริกากลาง
  CRC0.2985 
  HNL6.25391 
  HTG1.16381 
  JMD0.98891 
  KYD189.39394 
  NIO4.19851 
  PYG0.02108 
  XCD56.85048 
EUROPE
  ADP
  ALL1.60038 
  ATS12.0919 
  BAM85.03401 
  BEF4.12456 
  BGN0.08551 
  CHF168.06723 
  CZK6.71637 
  DEM85.10638 
  DKK22.28164 
  EEK10.66325 
  ESP
  EUR166.11296 
  FIM27.98769 
  FRF25.36783 
  GBP195.3125 
  GRD0.48829 
  HRK21.57032 
  HUF 
  IEP211.41649 
  ISK 
  ITL0.08593 
  LTL47.55112 
  LUF4.12456 
  LVL233.64486 
  MDL8.70625 
  MTL387.5969 
  NLG75.5287 
  NOK14.38435 
  PLN39.12363 
  PTE0.82993 
  RON33.42246 
  RUB1.70201 
  SEK14.29184 
  TRY4.76917 
  UAH3.85624 
  YUM85.03401 
ASIA
  BND113.76564 
  BTN1.83624 
  BYR 
  CNY21.20441 
  GEL57.87037 
  HKD19.66568 
  IDR 
  INR1.84434 
  JPY0.9823 
  KRW0.11251 
  KZT 
  LKR 
  MMK0.07313 
  MNT0.04538 
  MOP19.04037 
  MVR10.23332 
  MYR32.69042 
  NPR 
  NTD4.9034 
  PGK40.84967 
  PHP2.64117 
  PKR 
  SGD113.76564 
  THB4.22869 
  TJR0.1401 
  TJS14.00953 
  TMT43.85965 
  UZS0.01229 
  VND0.00623 
OCEANIA
  AUD102.45902 
  NZD94.16196 
  XPF1.39433 
ตะวันออกกลาง
  AED41.80602 
  BHD 
  CYP284.09091 
  ILS 
  IRR 
  JOD216.91974 
  KWD500 
  LBP0.00172 
  OMR400 
  QAR 
  SAR40.93328 
  SYP0.01228 
  YER0.61327 
อัฟริกา
  AOA0.18527 
  BIF0.05402 
  CVE1.64414 
  DJF0.85876 
  EGP4.97711 
  GMD2.26562 
  KES1.05312 
  KMF0.33821 
  LYD 
  MAD15.19757 
  MGA0.03386 
  NAD8.44167 
  NGN0.09718 
  RWF0.12119 
  SDG0.25541 
  SZL7.99361 
  TND49.18839 
  UGX0.03898 
  XAF0.25365 
  XOF0.25842 
  ZAR8.44024 
  ZMK0.00911 
")