var trate_time='2024,05,07,00,14(กรุงเทพฯ)';var tttime=new Date(2024,05,07,00,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 XCD
อเมริกาเหนือ
  USD2.70051 
  CAD1.97219 
  MXN0.15383 
ทวีปอเมริกาใต้
  ARS0.00301 
  BOB0.41342 
  BRL0.51123 
  CLP0.00298 
  COP 
  FKP3.44982 
  GYD0.01296 
  VEB0.00075 
  VEF 
อเมริกากลาง
  CRC0.00518 
  HNL0.10988 
  HTG0.02033 
  JMD0.01737 
  KYD3.33067 
  NIO0.07389 
  PYG0.00036 
  XCD
EUROPE
  ADP0.01764 
  ALL0.02927 
  ATS0.2133 
  BAM1.49977 
  BEF0.07276 
  BGN0.00151 
  CHF3.03021 
  CZK0.11912 
  DEM1.50069 
  DKK0.39336 
  EEK0.18811 
  ESP0.01764 
  EUR2.93401 
  FIM0.49365 
  FRF0.44746 
  GBP3.45161 
  GRD0.00861 
  HRK0.3795 
  HUF 
  IEP3.72689 
  ISK 
  ITL0.00152 
  LTL0.83667 
  LUF0.07276 
  LVL4.11032 
  MDL0.15243 
  MTL6.83667 
  NLG1.33188 
  NOK0.25788 
  PLN0.68315 
  PTE0.01464 
  RON0.58951 
  RUB0.03042 
  SEK0.25925 
  TRY0.08333 
  UAH0.06702 
  YUM1.49977 
ASIA
  BND2.00618 
  BTN0.03229 
  BYR9090.90909 
  CNY0.37265 
  GEL0.97558 
  HKD0.34565 
  IDR 
  INR0.03235 
  JPY0.01732 
  KRW0.00197 
  KZT 
  LKR 
  MMK0.00129 
  MNT0.0008 
  MOP0.33537 
  MVR0.18002 
  MYR0.57506 
  NPR 
  NTD0.08626 
  PGK0.70542 
  PHP0.04598 
  PKR 
  SGD2.00618 
  THB0.07401 
  TJR0.0025 
  TJS0.24971 
  TMT0.77153 
  UZS0.00021 
  VND0.00011 
OCEANIA
  AUD1.79853 
  NZD1.67692 
  XPF0.0246 
ตะวันออกกลาง
  AED0.73533 
  BHD 
  CYP5.01479 
  ILS 
  IRR 
  JOD3.81432 
  KWD8.81912 
  LBP3.0E-5 
  OMR7.02346 
  QAR 
  SAR0.72013 
  SYP0.00022 
  YER0.01079 
อัฟริกา
  AOA0.00318 
  BIF0.00095 
  CVE0.029 
  DJF0.01511 
  EGP0.05714 
  GMD0.03986 
  KES0.02075 
  KMF0.00597 
  LYD 
  MAD0.27104 
  MGA0.00061 
  NAD0.14358 
  NGN0.00188 
  RWF0.00209 
  SDG0.00461 
  SZL0.14537 
  TND0.8654 
  UGX0.00071 
  XAF0.00447 
  XOF0.00455 
  ZAR0.14283 
  ZMK0.00016 
")