var trate_time='2024,03,27,21,33(กรุงเทพฯ)';var tttime=new Date(2024,03,27,21,33);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.24585 
  CAD5.30138 
  MXN0.42238 
ทวีปอเมริกาใต้
  ARS0.00876 
  BOB1.07933 
  BRL1.41585 
  CLP0.00764 
  COP 
  FKP9.06454 
  GYD0.03468 
  VEB0.00202 
  VEF 
อเมริกากลาง
  CRC0.01409 
  HNL0.29521 
  HTG0.05494 
  JMD0.04668 
  KYD8.93655 
  NIO0.19818 
  PYG0.001 
  XCD2.6832 
EUROPE
  ADP0.04666 
  ALL0.07554 
  ATS0.56421 
  BAM3.96715 
  BEF0.19246 
  BGN0.00399 
  CHF7.94281 
  CZK0.30859 
  DEM3.96951 
  DKK1.04105 
  EEK0.49758 
  ESP0.04666 
  EUR7.76277 
  FIM1.30576 
  FRF1.18356 
  GBP9.06783 
  GRD0.02278 
  HRK1.01828 
  HUF 
  IEP9.85707 
  ISK 
  ITL0.00401 
  LTL2.24492 
  LUF0.19246 
  LVL11.02901 
  MDL0.4058 
  MTL18.08318 
  NLG3.52299 
  NOK0.65793 
  PLN1.80047 
  PTE0.03872 
  RON1.57778 
  RUB0.07875 
  SEK0.66324 
  TRY0.22305 
  UAH0.18265 
  YUM3.96715 
ASIA
  BND5.32595 
  BTN0.08662 
  BYR25000 
  CNY
  GEL2.73112 
  HKD0.9256 
  IDR 
  INR0.08695 
  JPY0.04656 
  KRW0.00526 
  KZT 
  LKR 
  MMK0.00345 
  MNT0.00214 
  MOP0.89873 
  MVR0.48305 
  MYR1.51669 
  NPR 
  NTD0.23147 
  PGK1.92857 
  PHP0.12521 
  PKR 
  SGD5.32595 
  THB0.19584 
  TJR0.00661 
  TJS0.66134 
  TMT2.06992 
  UZS0.00058 
  VND0.00029 
OCEANIA
  AUD4.73821 
  NZD4.32339 
  XPF0.06506 
ตะวันออกกลาง
  AED1.97239 
  BHD 
  CYP13.26612 
  ILS 
  IRR 
  JOD10.23437 
  KWD23.53495 
  LBP8.0E-5 
  OMR18.83949 
  QAR 
  SAR1.93166 
  SYP0.00058 
  YER0.02895 
อัฟริกา
  AOA0.00875 
  BIF0.00255 
  CVE0.07672 
  DJF0.04054 
  EGP0.23494 
  GMD0.10695 
  KES0.04971 
  KMF0.01578 
  LYD 
  MAD0.71738 
  MGA0.0016 
  NAD0.38303 
  NGN0.00459 
  RWF0.00572 
  SDG0.01206 
  SZL0.37733 
  TND2.32207 
  UGX0.00184 
  XAF0.01184 
  XOF0.0122 
  ZAR0.38158 
  ZMK0.00043 
")