var trate_time='2024,04,23,13,20(กรุงเทพฯ)';var tttime=new Date(2024,04,23,13,20);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 PHP
อเมริกาเหนือ
  USD58.10575 
  CAD42.49894 
  MXN3.4926 
ทวีปอเมริกาใต้
  ARS0.07028 
  BOB8.84408 
  BRL11.37786 
  CLP0.06554 
  COP 
  FKP73.90983 
  GYD0.2782 
  VEB0.01619 
  VEF 
อเมริกากลาง
  CRC0.11302 
  HNL2.36782 
  HTG0.44064 
  JMD0.37442 
  KYD71.68459 
  NIO1.5896 
  PYG0.00798 
  XCD21.51926 
EUROPE
  ADP0.37862 
  ALL0.60593 
  ATS4.57813 
  BAM32.18539 
  BEF1.56165 
  BGN0.03238 
  CHF63.57279 
  CZK2.54298 
  DEM32.20612 
  DKK8.43526 
  EEK4.03747 
  ESP0.37862 
  EUR62.93266 
  FIM10.59547 
  FRF9.60338 
  GBP73.9645 
  GRD0.18488 
  HRK8.16727 
  HUF 
  IEP80 
  ISK 
  ITL0.03254 
  LTL18.00504 
  LUF1.56165 
  LVL88.49558 
  MDL3.29641 
  MTL146.62757 
  NLG28.58776 
  NOK5.44603 
  PLN14.81043 
  PTE0.31423 
  RON12.65502 
  RUB0.64441 
  SEK5.41096 
  TRY1.80574 
  UAH1.46002 
  YUM32.18539 
ASIA
  BND43.06632 
  BTN0.69523 
  BYR100000 
  CNY8.02761 
  GEL21.90581 
  HKD7.44602 
  IDR 
  INR0.69829 
  JPY0.37191 
  KRW0.0426 
  KZT 
  LKR 
  MMK0.02769 
  MNT0.01718 
  MOP7.20877 
  MVR3.87447 
  MYR12.37624 
  NPR 
  NTD1.85656 
  PGK15.4679 
  PHP
  PKR 
  SGD43.06632 
  THB1.60105 
  TJR0.05305 
  TJS5.30448 
  TMT16.60302 
  UZS0.00465 
  VND0.00236 
OCEANIA
  AUD38.78976 
  NZD35.63792 
  XPF0.52792 
ตะวันออกกลาง
  AED15.82529 
  BHD 
  CYP107.64263 
  ILS 
  IRR 
  JOD82.10181 
  KWD189.39394 
  LBP0.00065 
  OMR151.0574 
  QAR 
  SAR15.49907 
  SYP0.00465 
  YER0.2322 
อัฟริกา
  AOA0.07015 
  BIF0.02045 
  CVE0.6225 
  DJF0.32514 
  EGP1.88441 
  GMD0.8578 
  KES0.39873 
  KMF0.12805 
  LYD 
  MAD5.75407 
  MGA0.01282 
  NAD3.19611 
  NGN0.0368 
  RWF0.04589 
  SDG0.0967 
  SZL3.02654 
  TND18.62544 
  UGX0.01476 
  XAF0.09604 
  XOF0.09784 
  ZAR3.1956 
  ZMK0.00345 
")