var trate_time='2024,04,21,03,19(กรุงเทพฯ)';var tttime=new Date(2024,04,21,03,19);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 HTG
อเมริกาเหนือ
  USD131.92612 
  CAD96.99321 
  MXN7.96178 
ทวีปอเมริกาใต้
  ARS0.15949 
  BOB20 
  BRL25.81978 
  CLP0.14702 
  COP 
  FKP167.22408 
  GYD0.63135 
  VEB0.03675 
  VEF 
อเมริกากลาง
  CRC0.25649 
  HNL5.37346 
  HTG
  JMD0.84972 
  KYD162.60163 
  NIO3.6075 
  PYG0.01812 
  XCD48.85198 
EUROPE
  ADP0.86059 
  ALL1.37512 
  ATS10.40583 
  BAM73.15289 
  BEF3.54962 
  BGN0.07359 
  CHF145.13788 
  CZK5.78704 
  DEM73.20644 
  DKK19.19386 
  EEK9.17684 
  ESP0.86059 
  EUR143.26648 
  FIM24.08478 
  FRF21.82929 
  GBP167.50419 
  GRD0.42022 
  HRK18.53568 
  HUF 
  IEP181.81818 
  ISK 
  ITL0.07395 
  LTL40.86637 
  LUF3.54962 
  LVL200.80321 
  MDL7.44269 
  MTL333.33333 
  NLG64.97726 
  NOK12.32438 
  PLN33.69272 
  PTE0.71423 
  RON28.71913 
  RUB1.45495 
  SEK12.33654 
  TRY4.09601 
  UAH3.34515 
  YUM73.15289 
ASIA
  BND98.03922 
  BTN1.57751 
  BYR 
  CNY18.23819 
  GEL49.7265 
  HKD16.90903 
  IDR 
  INR1.58188 
  JPY0.8463 
  KRW0.09733 
  KZT 
  LKR 
  MMK0.06284 
  MNT0.03899 
  MOP16.35858 
  MVR8.79275 
  MYR28.14523 
  NPR 
  NTD4.21336 
  PGK35.10004 
  PHP2.28817 
  PKR 
  SGD98.03922 
  THB3.66274 
  TJR0.12038 
  TJS12.03804 
  TMT37.67898 
  UZS0.01056 
  VND0.00536 
OCEANIA
  AUD88.41733 
  NZD80.84074 
  XPF1.19995 
ตะวันออกกลาง
  AED35.91954 
  BHD 
  CYP244.49878 
  ILS 
  IRR 
  JOD186.21974 
  KWD429.18455 
  LBP0.00147 
  OMR342.46575 
  QAR 
  SAR35.17411 
  SYP0.01055 
  YER0.52696 
อัฟริกา
  AOA0.15919 
  BIF0.04641 
  CVE1.41493 
  DJF0.73788 
  EGP4.27661 
  GMD1.94674 
  KES0.9049 
  KMF0.29106 
  LYD 
  MAD13.05824 
  MGA0.0291 
  NAD7.23903 
  NGN0.0835 
  RWF0.10413 
  SDG0.21946 
  SZL6.8686 
  TND42.26543 
  UGX0.0335 
  XAF0.21829 
  XOF0.22205 
  ZAR7.27379 
  ZMK0.00783 
")