var trate_time='2024,04,23,20,18(กรุงเทพฯ)';var tttime=new Date(2024,04,23,20,18);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 AUD
อเมริกาเหนือ
  USD1.49831 
  CAD1.09573 
  MXN0.09004 
ทวีปอเมริกาใต้
  ARS0.00181 
  BOB0.22801 
  BRL0.29333 
  CLP0.00169 
  COP 
  FKP1.90527 
  GYD0.00717 
  VEB0.00042 
  VEF 
อเมริกากลาง
  CRC0.00291 
  HNL0.06104 
  HTG0.01136 
  JMD0.00965 
  KYD1.84792 
  NIO0.04098 
  PYG0.00021 
  XCD0.55482 
EUROPE
  ADP0.00976 
  ALL0.01562 
  ATS0.11802 
  BAM0.82985 
  BEF0.04026 
  BGN0.00083 
  CHF1.63929 
  CZK0.06556 
  DEM0.83036 
  DKK0.21747 
  EEK0.10409 
  ESP0.00976 
  EUR1.62259 
  FIM0.27314 
  FRF0.24758 
  GBP1.90647 
  GRD0.00477 
  HRK0.21056 
  HUF 
  IEP2.06207 
  ISK 
  ITL0.00084 
  LTL0.4642 
  LUF0.04026 
  LVL2.2805 
  MDL0.08498 
  MTL3.78258 
  NLG0.73695 
  NOK0.1404 
  PLN0.3818 
  PTE0.0081 
  RON0.32625 
  RUB0.01661 
  SEK0.13949 
  TRY0.04655 
  UAH0.03764 
  YUM0.82985 
ASIA
  BND1.11026 
  BTN0.01792 
  BYR5000 
  CNY0.20696 
  GEL0.56474 
  HKD0.19195 
  IDR 
  INR0.018 
  JPY0.00959 
  KRW0.0011 
  KZT 
  LKR 
  MMK0.00071 
  MNT0.00044 
  MOP0.18584 
  MVR0.09988 
  MYR0.31907 
  NPR 
  NTD0.04786 
  PGK0.39878 
  PHP0.02578 
  PKR 
  SGD1.11026 
  THB0.04127 
  TJR0.00137 
  TJS0.13675 
  TMT0.42801 
  UZS0.00012 
  VND6.0E-5 
OCEANIA
  AUD
  NZD0.91881 
  XPF0.01361 
ตะวันออกกลาง
  AED0.40798 
  BHD 
  CYP2.77462 
  ILS 
  IRR 
  JOD2.11622 
  KWD4.88353 
  LBP2.0E-5 
  OMR3.89681 
  QAR 
  SAR0.39955 
  SYP0.00012 
  YER0.00599 
อัฟริกา
  AOA0.00181 
  BIF0.00053 
  CVE0.01605 
  DJF0.00838 
  EGP0.04858 
  GMD0.02211 
  KES0.01028 
  KMF0.0033 
  LYD 
  MAD0.14834 
  MGA0.00033 
  NAD0.0824 
  NGN0.00095 
  RWF0.00118 
  SDG0.00249 
  SZL0.07802 
  TND0.48015 
  UGX0.00038 
  XAF0.00248 
  XOF0.00252 
  ZAR0.08238 
  ZMK9.0E-5 
")