var trate_time='2024,03,30,04,49(กรุงเทพฯ)';var tttime=new Date(2024,03,30,04,49);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 SAR
อเมริกาเหนือ
  USD3.74995 
  CAD2.74461 
  MXN0.21867 
ทวีปอเมริกาใต้
  ARS0.00453 
  BOB0.55973 
  BRL0.73315 
  CLP0.00396 
  COP 
  FKP4.69859 
  GYD0.01795 
  VEB0.00104 
  VEF 
อเมริกากลาง
  CRC0.00729 
  HNL0.15278 
  HTG0.02843 
  JMD0.02416 
  KYD4.62513 
  NIO0.10257 
  PYG0.00052 
  XCD1.38864 
EUROPE
  ADP0.02416 
  ALL0.0391 
  ATS0.29211 
  BAM2.05389 
  BEF0.09964 
  BGN0.00207 
  CHF4.11404 
  CZK0.1597 
  DEM2.05512 
  DKK0.53902 
  EEK0.25761 
  ESP0.02416 
  EUR4.0201 
  FIM0.67604 
  FRF0.61278 
  GBP4.69859 
  GRD0.0118 
  HRK0.527 
  HUF 
  IEP5.10334 
  ISK 
  ITL0.00208 
  LTL1.16186 
  LUF0.09964 
  LVL5.70776 
  MDL0.21021 
  MTL9.3633 
  NLG1.82402 
  NOK0.34062 
  PLN0.92946 
  PTE0.02005 
  RON0.81655 
  RUB0.04077 
  SEK0.34403 
  TRY0.11581 
  UAH0.09469 
  YUM2.05389 
ASIA
  BND2.75171 
  BTN0.04478 
  BYR12500 
  CNY0.51748 
  GEL1.41345 
  HKD0.47907 
  IDR 
  INR0.04494 
  JPY0.0241 
  KRW0.00273 
  KZT 
  LKR 
  MMK0.00179 
  MNT0.00111 
  MOP0.46512 
  MVR0.24999 
  MYR0.78559 
  NPR 
  NTD0.11979 
  PGK0.99808 
  PHP0.06488 
  PKR 
  SGD2.75171 
  THB0.10125 
  TJR0.00342 
  TJS0.34226 
  TMT1.07125 
  UZS0.0003 
  VND0.00015 
OCEANIA
  AUD2.46336 
  NZD2.23519 
  XPF0.03368 
ตะวันออกกลาง
  AED1.02111 
  BHD 
  CYP6.86813 
  ILS 
  IRR 
  JOD5.29661 
  KWD12.18769 
  LBP4.0E-5 
  OMR9.75324 
  QAR 
  SAR
  SYP0.0003 
  YER0.01498 
อัฟริกา
  AOA0.00453 
  BIF0.00132 
  CVE0.03972 
  DJF0.02098 
  EGP0.12159 
  GMD0.05535 
  KES0.02573 
  KMF0.00817 
  LYD 
  MAD0.37126 
  MGA0.00083 
  NAD0.20009 
  NGN0.00237 
  RWF0.00296 
  SDG0.00624 
  SZL0.19528 
  TND1.20174 
  UGX0.00095 
  XAF0.00613 
  XOF0.00631 
  ZAR0.1995 
  ZMK0.00022 
")