Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get local time in other countries
Message
De
09/07/2006 12:58:35
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01134752
Message ID:
01134790
Vues:
35
>Mike
>
>Sounds good but how do I code the internet query from VFP6?

You can use any old version of WWIPStuff to do a httpget() of the page into a string, then parse it. From what I see, you can pretty much insert a carriage return before each TR tag, then do aLines() on the string and just look for your city's element.

Or you can do that only once, manually. Take the source of that page (and your current time), chop it and create the table with offsets from your location. You may be slightly off twice a year, in those two weeks when some countries are on daylight savings (do they get interest on that? :), and others are not. Also, the southern hemisphere may also be permanently off, because I assume they may be on daylight saving when we're on daylight squandering and vice versa.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform