How to read time from website?

Tom

Well-known member
Joined
Aug 23, 2005
Messages
746
Programming Experience
5-10
It is possible to read the webpages source code and extract the info you want from there but in this specific case the time is displayed as part of a java control.
 

enzo80

Member
Joined
Dec 23, 2005
Messages
6
Programming Experience
Beginner
It is possible to read the webpages source code and extract the info you want from there but in this specific case the time is displayed as part of a java control.

so i cant make application that reads from java control?
 

Tom

Well-known member
Joined
Aug 23, 2005
Messages
746
Programming Experience
5-10
If you view the webpages source, it does show a time, its in the Pacific time zone though.

var NISTSendTime = new Date( "September 1, 2009 18:37:00");

I would extract this line and create a function to offset it to whatever timezone you want.
 
Top Bottom