Konu: saat
internet üzerinden o anki (gun,ay,yıl saat:dakika) zamanı nasıl ve nereden çekebilirim
tecrübesi olan varmı ?
teşekkürler
Giriş yapmadınız. Lütfen giriş yapın yada kayıt olun.
fox4um » Web Uygulamaları » saat
internet üzerinden o anki (gun,ay,yıl saat:dakika) zamanı nasıl ve nereden çekebilirim
tecrübesi olan varmı ?
teşekkürler
Merhaba,
Aşağıdaki program Türkiye saatini verir. Kaynak site Türkiye saatini hesaplayarak veriyor. Yani yaz saati, kış saati durumlarında otomatik olarak değişmesi lazım.
clear
local cts1,loie,mresp,tx1,txdate,txtime
cts1="http://free.timeanddate.com/clock/izmyrnq/n19/tltr28/tt0/tw0/tm3/td2/th1/tb4"
loie=createobject("InternetExplorer.Application")
loie.navigate(cts1)
do while loie.readystate <> 4
doevents
enddo
mresp=loie.document.body.innerhtml
tx1=getwordnum(mresp,19)
txdate=substr(tx1,15,10)
txtime=substr(tx1,29,8)
? txdate
? txtime
retu
fox4um » Web Uygulamaları » saat