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:
01562941
Vues:
43
>>>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

I see what you mean. I guess in that case one would need an API call to do whatever it is Windows does when it adjusts time for summer time etc and pass in SA's id.

Sorry for the off the cuff misleading reaction but thanks for giving me something to think about so I can go poke around for a good answer that may help me someday.


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