var trate_time='2024,04,05,02,47(กรุงเทพฯ)';var tttime=new Date(2024,04,05,02,47);var tttime2='(กรุงเทพฯ)';var tformat=1; var trate_vvv=document.getElementById("forex2_link2"),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
อเมริกาเหนือ
  ดอลลาร์อเมริกัน57.57052 
  ดอลลาร์แคนาดา42.15852 
  เงินเปโซเม็กซิกัน3.3865 
ทวีปอเมริกาใต้
  เงินเปโซของอาร์เจนตินา0.06963 
  boliviano โบลิเวีย8.60511 
  บราซิลจริง11.36622 
  เงินเปโซของชิลี0.06034 
  เงินเปโซของ โคลอมเบีย 
  ปอนด์ Falkland เกาะ72.20217 
  ดอลลาร์ กายอานา0.27563 
  โบลีวาร์ เวเนซุเอลา0.01604 
  โบลีวาร์ เวเนซุเอลา 
อเมริกากลาง
  ลำไส้ใหญ่ คอสตาริกา0.11198 
  ฮอนดูรัส Lempira2.34599 
  Gourde เฮติ0.43658 
  ดอลลาร์ จาเมกา0.37097 
  ดอลลาร์ เกาะเคย์แมน71.02273 
  Oro นิการากัว1.57498 
  Guarani ปารากวัย0.00791 
  ดอลลาร์แคริบเบียนตะวันออก21.32196 
EUROPE
  Peseta อันดอร์รา0.37145 
  Lek แอลเบเนีย0.60036 
  ชิลลิง ออสเตรีย4.49156 
  Marka บอสเนีย เฮอร์เซโก31.57562 
  ฟรังก์ เบลเยียม1.5321 
  เงิน Lev ของประเทศบัลแกเรีย0.03176 
  ฟรังค์สวิส63.45178 
  โครูนาเช็ก2.47323 
  Mark เยอรมัน31.59558 
  Krone เดนมาร์ก8.29531 
  Estonian Kroon3.96102 
  เงินเพะเซทะสเปน0.37145 
  EURO61.88119 
  ฟินแลนด์ Markka10.39501 
  ฟรังค์ฝรั่งเศส9.42241 
  ปอนด์อังกฤษ72.30658 
  Drachma กรีซ0.18138 
  เงิน Kuna ของโครเอเชีย8.09258 
  ฮังการี Forint 
  ปอนด์ไอร์แลนด์78.49294 
  Krona ไอซ์แลนด์ 
  ลีร่าอิตาลี0.03192 
  ตัส ลิทัวเนีย17.84121 
  ฟรังก์ ลักเซมเบิร์ก1.5321 
  Lats Latvian87.64242 
  Leu มอลโดวา3.26669 
  Lira มอลตา143.88489 
  กิลเดอร์เนเธอร์แลนด์28.04262 
  เงินโครนของนอร์เวย์5.2843 
  โปแลนด์ Zloty14.26737 
  เอสคูโดโปรตุเกส0.30828 
  Leu โรมาเนีย12.53918 
  รูเบิลรัสเซีย0.62802 
  Krona สวีเดน5.31519 
  ตุรกีลีร่า1.78037 
  Hryvnia ยูเครน1.45649 
  ดีนาร์ ยูโกสลาเวีย31.57562 
ASIA
  ดอลลาร์บรูไน42.57131 
  Ngultrum ภูฏาน0.6874 
  รูเบิล เบลารุส100000 
  RMB จีน7.97512 
  Lari จอร์เจีย21.7061 
  ดอลลาร์ฮ่องกง7.36865 
  เงินรูเปียอินโดนีเซีย 
  รูปีอินเดีย0.69063 
  เยนญี่ปุ่น0.37017 
  วอนเกาหลีใต้0.04177 
  Tenge คาซัคสถาน 
  รูปีศรีลังกา 
  จ๊าด พม่า0.02743 
  Tugrik มองโกเลีย0.01702 
  Pataca มาเก๊า7.14235 
  Rufiyaa มัลดีฟส์3.83877 
  Ringgit มาเลเซีย12.14919 
  เงินรูปี เนปาล 
  ดอลลาร์ไต้หวัน1.83945 
  ปาปัว นิว กีนี Kina15.32567 
  เงินเปโซของฟิลิปปินส์
  รูปีปากีสถาน 
  ดอลลาร์สิงคโปร์42.57131 
  บาทประเทศไทย1.56428 
  รูเบิล ทาจิกิสถาน0.05256 
  รูเบิล ทาจิกิสถาน5.25569 
  มนัส เติร์กเมนิสถาน16.45007 
  ติ่ Uzbekistan0.00461 
  ดง เวียดนาม0.00234 
OCEANIA
  ดอลลาร์ออสเตรเลีย37.87879 
  ดอลลาร์นิวซีแลนด์34.39972 
  ชุมชน แปซิฟิก ทางการเงิน0.51793 
ตะวันออกกลาง
  Emirates สหรัฐอาหรับ15.72327 
  ดีนาร์ บาห์เรน 
  ปอนด์ ไซปรัส105.59662 
  ประเทศอิสราเอลใหม่เชคเคิล 
  Rial อิหร่าน 
  ดีนาร์ จอร์แดน81.30081 
  ดีนาร์ คูเวต187.61726 
  ปอนด์ เลบานอน0.00064 
  Rial Omani150.15015 
  Rial Qatari 
  Riyal ซาอุดิ15.39883 
  ปอนด์ ซีเรีย0.00461 
  เรียล เยเมน0.23006 
อัฟริกา
  กวานซา แองโกลา0.0695 
  ฟรังก์ บุรุนดี0.02026 
  เอสคูโด เคปเวอร์0.61072 
  ฟรังก์ จิบูตี0.32215 
  ปอนด์อียิปต์1.86706 
  Dalasi แกมเบีย0.84991 
  ชิลลิง เคนยา0.39506 
  ฟรังก์ คอโมโรส0.12563 
  ดีนาร์ ลิเบีย 
  Dirham โมร็อกโก5.70093 
  ฟรังก์ มาดากัสการ์0.0127 
  ดอลลาร์ นามิเบีย3.10443 
  Naira Nigerian0.03646 
  ฟรังก์ รวันดา0.04546 
  ปอนด์ ซูดาน0.09581 
  Lilangeni สวาซิแลนด์2.99868 
  ดีนาร์ ตูนิเซีย18.45359 
  ชิลลิง ยูกันดา0.01462 
  แอฟริกากลาง CFA ฟรังก์0.09422 
  เวสต์ แอฟริกัน CFA ฟรังก์0.09694 
  เงิน Rand ของแอฟริกาใต้3.10222 
  Kwacha แซมเบีย0.00342 
")