Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Time in South Africa
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01562920
Message ID:
01562945
Vues:
38
>>>Does anyone know how to get the time in South Africa in VFP?
>>
>>Off the top of my head I'd store the SA UTC as a constant, have the app grab the local UTC on startup and have a function to do the math I'd call whenever I needed the SA time.
>
>Sorry I don't understand - I could add 2 hours to UK time but in UK summer (dates vary) it's only 1 hour

ok, I googled 'free time zone api" and this is the first one on the list but there seem to be a lot more. Should do the trick

http://timezonedb.com/

HTH


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform