var trate_time='2024,04,23,20,18(กรุงเทพฯ)';var tttime=new Date(2024,04,23,20,18);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 DKK
อเมริกาเหนือ
  USD6.8899 
  CAD5.03854 
  MXN0.41404 
ทวีปอเมริกาใต้
  ARS0.00833 
  BOB1.04847 
  BRL1.34885 
  CLP0.00777 
  COP 
  FKP8.76117 
  GYD0.03298 
  VEB0.00192 
  VEF 
อเมริกากลาง
  CRC0.0134 
  HNL0.28069 
  HTG0.05224 
  JMD0.04439 
  KYD8.49762 
  NIO0.18844 
  PYG0.00095 
  XCD2.55128 
EUROPE
  ADP0.04488 
  ALL0.07183 
  ATS0.54272 
  BAM3.81607 
  BEF0.18513 
  BGN0.00384 
  CHF7.53807 
  CZK0.30146 
  DEM3.8184 
  DKK
  EEK0.47863 
  ESP0.04488 
  EUR7.46157 
  FIM1.25603 
  FRF1.13849 
  GBP8.76655 
  GRD0.02192 
  HRK0.96822 
  HUF 
  IEP9.48227 
  ISK 
  ITL0.00386 
  LTL2.13456 
  LUF0.18513 
  LVL10.48658 
  MDL0.39078 
  MTL17.39433 
  NLG3.3888 
  NOK0.64561 
  PLN1.75568 
  PTE0.03725 
  RON1.50022 
  RUB0.07639 
  SEK0.64145 
  TRY0.21406 
  UAH0.17308 
  YUM3.81607 
ASIA
  BND5.10543 
  BTN0.08242 
  BYR25000 
  CNY0.95166 
  GEL2.59686 
  HKD0.88267 
  IDR 
  INR0.08278 
  JPY0.04409 
  KRW0.00505 
  KZT 
  LKR 
  MMK0.00328 
  MNT0.00204 
  MOP0.85455 
  MVR0.4593 
  MYR1.4672 
  NPR 
  NTD0.22009 
  PGK1.83375 
  PHP0.11855 
  PKR 
  SGD5.10543 
  THB0.1898 
  TJR0.00629 
  TJS0.62883 
  TMT1.96819 
  UZS0.00055 
  VND0.00028 
OCEANIA
  AUD4.59834 
  NZD4.22511 
  XPF0.06258 
ตะวันออกกลาง
  AED1.87607 
  BHD 
  CYP12.75836 
  ILS 
  IRR 
  JOD9.73141 
  KWD22.45677 
  LBP8.0E-5 
  OMR17.91794 
  QAR 
  SAR1.83729 
  SYP0.00055 
  YER0.02753 
อัฟริกา
  AOA0.00832 
  BIF0.00242 
  CVE0.07379 
  DJF0.03854 
  EGP0.22339 
  GMD0.10169 
  KES0.04727 
  KMF0.01518 
  LYD 
  MAD0.68211 
  MGA0.00152 
  NAD0.37889 
  NGN0.00436 
  RWF0.00544 
  SDG0.01146 
  SZL0.35878 
  TND2.2079 
  UGX0.00175 
  XAF0.01138 
  XOF0.0116 
  ZAR0.37883 
  ZMK0.00041 
")