var trate_time='2024,05,05,13,29(กรุงเทพฯ)';var tttime=new Date(2024,05,05,13,29);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 MGA
อเมริกาเหนือ
  USD4545.45455 
  CAD3333.33333 
  MXN253.80711 
ทวีปอเมริกาใต้
  ARS5.48125 
  BOB694.44444 
  BRL862.06897 
  CLP4.99276 
  COP 
  FKP5882.35294 
  GYD21.69668 
  VEB1.26299 
  VEF 
อเมริกากลาง
  CRC8.81523 
  HNL184.84288 
  HTG34.36426 
  JMD29.20561 
  KYD5555.55556 
  NIO123.91574 
  PYG0.62265 
  XCD1666.66667 
EUROPE
  ADP29.5858 
  ALL47.25898 
  ATS357.14286 
  BAM2500 
  BEF121.95122 
  BGN2.52992 
  CHF5000 
  CZK198.80716 
  DEM2500 
  DKK662.25166 
  EEK315.45741 
  ESP29.5858 
  EUR5000 
  FIM826.44628 
  FRF751.8797 
  GBP5882.35294 
  GRD14.44669 
  HRK636.94268 
  HUF 
  IEP6250 
  ISK 
  ITL2.54227 
  LTL1408.4507 
  LUF121.95122 
  LVL7142.85714 
  MDL255.75448 
  MTL11111.11111 
  NLG2222.22222 
  NOK432.90043 
  PLN1149.42529 
  PTE24.55193 
  RON990.09901 
  RUB51.07252 
  SEK432.90043 
  TRY139.86014 
  UAH111.98208 
  YUM2500 
ASIA
  BND3333.33333 
  BTN54.17118 
  BYR 
  CNY625 
  GEL1694.91525 
  HKD581.39535 
  IDR 
  INR54.28882 
  JPY28.98551 
  KRW3.29056 
  KZT 
  LKR 
  MMK2.15959 
  MNT1.34018 
  MOP561.79775 
  MVR302.1148 
  MYR961.53846 
  NPR 
  NTD144.7178 
  PGK1204.81928 
  PHP77.45933 
  PKR 
  SGD3333.33333 
  THB123.91574 
  TJR4.13736 
  TJS413.22314 
  TMT1298.7013 
  UZS0.36292 
  VND0.18408 
OCEANIA
  AUD3030.30303 
  NZD2777.77778 
  XPF41.25413 
ตะวันออกกลาง
  AED1234.5679 
  BHD 
  CYP8333.33333 
  ILS 
  IRR 
  JOD6250 
  KWD14285.71429 
  LBP0.05065 
  OMR12500 
  QAR 
  SAR1204.81928 
  SYP0.36263 
  YER18.10938 
อัฟริกา
  AOA5.47106 
  BIF1.5952 
  CVE48.63813 
  DJF25.3614 
  EGP147.05882 
  GMD66.88963 
  KES31.1042 
  KMF10.006 
  LYD 
  MAD448.43049 
  MGA
  NAD243.309 
  NGN2.86993 
  RWF3.57897 
  SDG7.54262 
  SZL235.84906 
  TND1449.27536 
  UGX1.15121 
  XAF7.50413 
  XOF7.63184 
  ZAR242.13075 
  ZMK0.26913 
")