var trate_time='2024,04,20,22,43(กรุงเทพฯ)';var tttime=new Date(2024,04,20,22,43);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 CNY
อเมริกาเหนือ
  USD7.2317 
  CAD5.3183 
  MXN0.43561 
ทวีปอเมริกาใต้
  ARS0.00874 
  BOB1.09354 
  BRL1.41553 
  CLP0.00806 
  COP 
  FKP9.15164 
  GYD0.03462 
  VEB0.00201 
  VEF 
อเมริกากลาง
  CRC0.01406 
  HNL0.29463 
  HTG0.05483 
  JMD0.04659 
  KYD8.91902 
  NIO0.1978 
  PYG0.00099 
  XCD2.67795 
EUROPE
  ADP0.04715 
  ALL0.0754 
  ATS0.57017 
  BAM4.00898 
  BEF0.19449 
  BGN0.00403 
  CHF7.95988 
  CZK0.31729 
  DEM4.01139 
  DKK1.0523 
  EEK0.50284 
  ESP0.04715 
  EUR7.85484 
  FIM1.31956 
  FRF1.19607 
  GBP9.18695 
  GRD0.02302 
  HRK1.01629 
  HUF 
  IEP9.96214 
  ISK 
  ITL0.00405 
  LTL2.24054 
  LUF0.19449 
  LVL11.00715 
  MDL0.4074 
  MTL18.27485 
  NLG3.56024 
  NOK0.67485 
  PLN1.84723 
  PTE0.03913 
  RON1.5747 
  RUB0.07977 
  SEK0.67368 
  TRY0.22414 
  UAH0.18339 
  YUM4.00898 
ASIA
  BND5.37692 
  BTN0.08641 
  BYR25000 
  CNY
  GEL2.72576 
  HKD0.92696 
  IDR 
  INR0.08673 
  JPY0.0464 
  KRW0.00534 
  KZT 
  LKR 
  MMK0.00345 
  MNT0.00214 
  MOP0.89697 
  MVR0.4821 
  MYR1.54328 
  NPR 
  NTD0.23101 
  PGK1.92478 
  PHP0.12624 
  PKR 
  SGD5.37692 
  THB0.20082 
  TJR0.0066 
  TJS0.66005 
  TMT2.06586 
  UZS0.00058 
  VND0.00029 
OCEANIA
  AUD4.84825 
  NZD4.43361 
  XPF0.06575 
ตะวันออกกลาง
  AED1.96916 
  BHD 
  CYP13.40483 
  ILS 
  IRR 
  JOD10.2145 
  KWD23.57934 
  LBP8.0E-5 
  OMR18.8076 
  QAR 
  SAR1.92849 
  SYP0.00058 
  YER0.02889 
อัฟริกา
  AOA0.00873 
  BIF0.00254 
  CVE0.07753 
  DJF0.04046 
  EGP0.23448 
  GMD0.10674 
  KES0.04961 
  KMF0.01595 
  LYD 
  MAD0.71597 
  MGA0.0016 
  NAD0.39634 
  NGN0.00458 
  RWF0.00571 
  SDG0.01203 
  SZL0.37659 
  TND2.3175 
  UGX0.00184 
  XAF0.01196 
  XOF0.01217 
  ZAR0.39881 
  ZMK0.00043 
")