SetSystemTime - GMT and BST
-
my app allows the user to change the current time on the pc and it also displays the current time at the bottom of the apps window (its a full screen app so the user can't see the windows time). I've noticed that when I change the time in my app it changes correctly however the windows timer gets an extra hour added, I'm assuming this is due to BST, what is the preferred method for changing the time correctly so I don't get this extra hour? TIA, Andy
-
my app allows the user to change the current time on the pc and it also displays the current time at the bottom of the apps window (its a full screen app so the user can't see the windows time). I've noticed that when I change the time in my app it changes correctly however the windows timer gets an extra hour added, I'm assuming this is due to BST, what is the preferred method for changing the time correctly so I don't get this extra hour? TIA, Andy
Lookup
SetLocalTime
also read remarks section in the docs carefully.
Nibu thomas A Developer Code must be written to be read, not by the compiler, but by another human being. http:\\nibuthomas.wordpress.com
-
my app allows the user to change the current time on the pc and it also displays the current time at the bottom of the apps window (its a full screen app so the user can't see the windows time). I've noticed that when I change the time in my app it changes correctly however the windows timer gets an extra hour added, I'm assuming this is due to BST, what is the preferred method for changing the time correctly so I don't get this extra hour? TIA, Andy
mcsherry wrote:
I'm assuming this is due to BST...
British Summer Time Brazil Standard Time Bering Strait Time Business Software Technology :confused:
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
mcsherry wrote:
I'm assuming this is due to BST...
British Summer Time Brazil Standard Time Bering Strait Time Business Software Technology :confused:
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
I'm going with the third one... :)
Mark Salsbery Microsoft MVP - Visual C++ :java: