var trate_time='2024,05,05,04,12(กรุงเทพฯ)';var tttime=new Date(2024,05,05,04,12);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 PLN
อเมริกาเหนือ
  USD3.94477 
  CAD2.89889 
  MXN0.22086 
ทวีปอเมริกาใต้
  ARS0.00477 
  BOB0.60232 
  BRL0.74881 
  CLP0.00434 
  COP 
  FKP5.02968 
  GYD0.01888 
  VEB0.0011 
  VEF 
อเมริกากลาง
  CRC0.00767 
  HNL0.16071 
  HTG0.02991 
  JMD0.02541 
  KYD4.86523 
  NIO0.10789 
  PYG0.00054 
  XCD1.46077 
EUROPE
  ADP0.02574 
  ALL0.04113 
  ATS0.3113 
  BAM2.1889 
  BEF0.10619 
  BGN0.0022 
  CHF4.41755 
  CZK0.1731 
  DEM2.1902 
  DKK0.57461 
  EEK0.27454 
  ESP0.02574 
  EUR4.28596 
  FIM0.72045 
  FRF0.65304 
  GBP5.03094 
  GRD0.01257 
  HRK0.55437 
  HUF 
  IEP5.43892 
  ISK 
  ITL0.00221 
  LTL1.22217 
  LUF0.10619 
  LVL6.0042 
  MDL0.22279 
  MTL9.97904 
  NLG1.94382 
  NOK0.37676 
  PLN
  PTE0.02137 
  RON0.85897 
  RUB0.04444 
  SEK0.37678 
  TRY0.12168 
  UAH0.09744 
  YUM2.1889 
ASIA
  BND2.92946 
  BTN0.04715 
  BYR12500 
  CNY0.54445 
  GEL1.48686 
  HKD0.50471 
  IDR 
  INR0.04724 
  JPY0.02522 
  KRW0.00286 
  KZT 
  LKR 
  MMK0.00188 
  MNT0.00117 
  MOP0.48928 
  MVR0.26297 
  MYR0.84039 
  NPR 
  NTD0.12601 
  PGK1.04993 
  PHP0.0674 
  PKR 
  SGD2.92946 
  THB0.10785 
  TJR0.0036 
  TJS0.36004 
  TMT1.12689 
  UZS0.00032 
  VND0.00016 
OCEANIA
  AUD2.6304 
  NZD2.43825 
  XPF0.0359 
ตะวันออกกลาง
  AED1.07415 
  BHD 
  CYP7.3185 
  ILS 
  IRR 
  JOD5.57165 
  KWD12.88328 
  LBP4.0E-5 
  OMR10.25957 
  QAR 
  SAR1.05195 
  SYP0.00032 
  YER0.01576 
อัฟริกา
  AOA0.00476 
  BIF0.00139 
  CVE0.04233 
  DJF0.02207 
  EGP0.1279 
  GMD0.05822 
  KES0.02706 
  KMF0.00871 
  LYD 
  MAD0.39055 
  MGA0.00087 
  NAD0.21165 
  NGN0.0025 
  RWF0.00311 
  SDG0.00656 
  SZL0.20542 
  TND1.26416 
  UGX0.001 
  XAF0.00653 
  XOF0.00664 
  ZAR0.21056 
  ZMK0.00023 
")