var trate_time='2024,04,07,21,40(กรุงเทพฯ)';var tttime=new Date(2024,04,07,21,40);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.51511 
  CAD1.10809 
  MXN0.0896 
ทวีปอเมริกาใต้
  ARS0.00183 
  BOB0.22713 
  BRL0.29846 
  CLP0.00163 
  COP 
  FKP1.90458 
  GYD0.00725 
  VEB0.00042 
  VEF 
อเมริกากลาง
  CRC0.00295 
  HNL0.06173 
  HTG0.01149 
  JMD0.00976 
  KYD1.86863 
  NIO0.04144 
  PYG0.00021 
  XCD0.56104 
EUROPE
  ADP0.00981 
  ALL0.0158 
  ATS0.11856 
  BAM0.83362 
  BEF0.04044 
  BGN0.00084 
  CHF1.66973 
  CZK0.06524 
  DEM0.83413 
  DKK0.2187 
  EEK0.10456 
  ESP0.00981 
  EUR1.63124 
  FIM0.27439 
  FRF0.24871 
  GBP1.90027 
  GRD0.00479 
  HRK0.21292 
  HUF 
  IEP2.07151 
  ISK 
  ITL0.00084 
  LTL0.46941 
  LUF0.04044 
  LVL2.30611 
  MDL0.08595 
  MTL3.80011 
  NLG0.7403 
  NOK0.13899 
  PLN0.37824 
  PTE0.00814 
  RON0.32991 
  RUB0.01658 
  SEK0.14032 
  TRY0.04695 
  UAH0.03845 
  YUM0.83362 
ASIA
  BND1.12055 
  BTN0.01808 
  BYR5000 
  CNY0.20999 
  GEL0.57107 
  HKD0.19387 
  IDR 
  INR0.01814 
  JPY0.00984 
  KRW0.00111 
  KZT 
  LKR 
  MMK0.00072 
  MNT0.00045 
  MOP0.18792 
  MVR0.101 
  MYR0.31947 
  NPR 
  NTD0.0484 
  PGK0.40325 
  PHP0.02637 
  PKR 
  SGD1.12055 
  THB0.04114 
  TJR0.00138 
  TJS0.13828 
  TMT0.43281 
  UZS0.00012 
  VND6.0E-5 
OCEANIA
  AUD
  NZD0.91095 
  XPF0.01367 
ตะวันออกกลาง
  AED0.4122 
  BHD 
  CYP2.78769 
  ILS 
  IRR 
  JOD2.13995 
  KWD4.93048 
  LBP2.0E-5 
  OMR3.94042 
  QAR 
  SAR0.40368 
  SYP0.00012 
  YER0.00605 
อัฟริกา
  AOA0.00183 
  BIF0.00053 
  CVE0.01612 
  DJF0.00848 
  EGP0.04912 
  GMD0.02236 
  KES0.01039 
  KMF0.00332 
  LYD 
  MAD0.15 
  MGA0.00033 
  NAD0.08217 
  NGN0.00096 
  RWF0.0012 
  SDG0.00252 
  SZL0.0789 
  TND0.48553 
  UGX0.00038 
  XAF0.00249 
  XOF0.00255 
  ZAR0.08202 
  ZMK9.0E-5 
")