var trate_time='2024,05,04,21,16(กรุงเทพฯ)';var tttime=new Date(2024,05,04,21,16);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
อเมริกาเหนือ
  ดอลลาร์อเมริกัน58.41121 
  ดอลลาร์แคนาดา42.91845 
  เงินเปโซเม็กซิกัน3.31884 
ทวีปอเมริกาใต้
  เงินเปโซของอาร์เจนตินา0.07063 
  boliviano โบลิเวีย8.88257 
  บราซิลจริง11.17568 
  เงินเปโซของชิลี0.06433 
  เงินเปโซของ โคลอมเบีย 
  ปอนด์ Falkland เกาะ74.23905 
  ดอลลาร์ กายอานา0.27958 
  โบลีวาร์ เวเนซุเอลา0.01627 
  โบลีวาร์ เวเนซุเอลา 
อเมริกากลาง
  ลำไส้ใหญ่ คอสตาริกา0.11358 
  ฮอนดูรัส Lempira2.37959 
  Gourde เฮติ0.44283 
  ดอลลาร์ จาเมกา0.37628 
  ดอลลาร์ เกาะเคย์แมน72.04611 
  Oro นิการากัว1.59752 
  Guarani ปารากวัย0.00802 
  ดอลลาร์แคริบเบียนตะวันออก21.63098 
EUROPE
  Peseta อันดอร์รา0.38063 
  Lek แอลเบเนีย0.60895 
  ชิลลิง ออสเตรีย4.60257 
  Marka บอสเนีย เฮอร์เซโก32.36246 
  ฟรังก์ เบลเยียม1.56996 
  เงิน Lev ของประเทศบัลแกเรีย0.03255 
  ฟรังค์สวิส65.40222 
  โครูนาเช็ก2.56299 
  Mark เยอรมัน32.38342 
  Krone เดนมาร์ก8.50702 
  Estonian Kroon4.05894 
  เงินเพะเซทะสเปน0.38063 
  EURO63.45178 
  ฟินแลนด์ Markka10.6519 
  ฟรังค์ฝรั่งเศส9.65531 
  ปอนด์อังกฤษ74.51565 
  Drachma กรีซ0.18586 
  เงิน Kuna ของโครเอเชีย8.20816 
  ฮังการี Forint 
  ปอนด์ไอร์แลนด์80.45052 
  Krona ไอซ์แลนด์ 
  ลีร่าอิตาลี0.03271 
  ตัส ลิทัวเนีย18.09627 
  ฟรังก์ ลักเซมเบิร์ก1.56996 
  Lats Latvian88.88889 
  Leu มอลโดวา3.30109 
  Lira มอลตา147.49263 
  กิลเดอร์เนเธอร์แลนด์28.73563 
  เงินโครนของนอร์เวย์5.57849 
  โปแลนด์ Zloty14.80604 
  เอสคูโดโปรตุเกส0.3159 
  Leu โรมาเนีย12.71779 
  รูเบิลรัสเซีย0.65481 
  Krona สวีเดน5.56421 
  ตุรกีลีร่า1.81251 
  Hryvnia ยูเครน1.44211 
  ดีนาร์ ยูโกสลาเวีย32.36246 
ASIA
  ดอลลาร์บรูไน43.38395 
  Ngultrum ภูฏาน0.69796 
  รูเบิล เบลารุส100000 
  RMB จีน8.06127 
  Lari จอร์เจีย22.01673 
  ดอลลาร์ฮ่องกง7.47105 
  เงินรูเปียอินโดนีเซีย 
  รูปีอินเดีย0.69949 
  เยนญี่ปุ่น0.37346 
  วอนเกาหลีใต้0.0424 
  Tenge คาซัคสถาน 
  รูปีศรีลังกา 
  จ๊าด พม่า0.02783 
  Tugrik มองโกเลีย0.01727 
  Pataca มาเก๊า7.24428 
  Rufiyaa มัลดีฟส์3.89378 
  Ringgit มาเลเซีย12.44245 
  เงินรูปี เนปาล 
  ดอลลาร์ไต้หวัน1.86578 
  ปาปัว นิว กีนี Kina15.54485 
  เงินเปโซของฟิลิปปินส์
  รูปีปากีสถาน 
  ดอลลาร์สิงคโปร์43.38395 
  บาทประเทศไทย1.59691 
  รูเบิล ทาจิกิสถาน0.05331 
  รูเบิล ทาจิกิสถาน5.33106 
  มนัส เติร์กเมนิสถาน16.68613 
  ติ่ Uzbekistan0.00468 
  ดง เวียดนาม0.00237 
OCEANIA
  ดอลลาร์ออสเตรเลีย38.94081 
  ดอลลาร์นิวซีแลนด์36.10108 
  ชุมชน แปซิฟิก ทางการเงิน0.53073 
ตะวันออกกลาง
  Emirates สหรัฐอาหรับ15.93625 
  ดีนาร์ บาห์เรน 
  ปอนด์ ไซปรัส108.22511 
  ประเทศอิสราเอลใหม่เชคเคิล 
  Rial อิหร่าน 
  ดีนาร์ จอร์แดน82.50825 
  ดีนาร์ คูเวต190.83969 
  ปอนด์ เลบานอน0.00065 
  Rial Omani151.97568 
  Rial Qatari 
  Riyal ซาอุดิ15.57632 
  ปอนด์ ซีเรีย0.00467 
  เรียล เยเมน0.23335 
อัฟริกา
  กวานซา แองโกลา0.07049 
  ฟรังก์ บุรุนดี0.02055 
  เอสคูโด เคปเวอร์0.62581 
  ฟรังก์ จิบูตี0.32676 
  ปอนด์อียิปต์1.8938 
  Dalasi แกมเบีย0.86208 
  ชิลลิง เคนยา0.40072 
  ฟรังก์ คอโมโรส0.12873 
  ดีนาร์ ลิเบีย 
  Dirham โมร็อกโก5.78269 
  ฟรังก์ มาดากัสการ์0.01288 
  ดอลลาร์ นามิเบีย3.12656 
  Naira Nigerian0.03698 
  ฟรังก์ รวันดา0.04611 
  ปอนด์ ซูดาน0.09719 
  Lilangeni สวาซิแลนด์3.04155 
  ดีนาร์ ตูนิเซีย18.71608 
  ชิลลิง ยูกันดา0.01483 
  แอฟริกากลาง CFA ฟรังก์0.09655 
  เวสต์ แอฟริกัน CFA ฟรังก์0.09833 
  เงิน Rand ของแอฟริกาใต้3.11769 
  Kwacha แซมเบีย0.00347 
")