Windows SetLocalTime

Rob Williscroft rtw at freenet.co.uk
Wed Dec 13 15:27:37 EST 2006


Podi wrote in news:1166040733.947268.80050 at 16g2000cwy.googlegroups.com
in comp.lang.python: 

> I am trying to set the system time on my Windows computer, but avoid
> using the DOS command (date, time).
> 
> Does anyone know what parameter to pass to function SetLocalTime?

<url:http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/sysinfo/base/setlocaltime.asp>

Google will usually find the documentation of anything in the 
Windows API however sometimes it also helps to add "msdn" to 
your search as in:

<url:http://www.google.com/search?client=firefox-a&rls=org.mozilla%3Aen-
US%3Aofficial_s&hl=en&q=setlocaltime+msdn&btnG=Google+Search>

Adding site:msdn.microsoft.com is even better (but alas more typing):

<url:http://www.google.com/search?hl=en&lr=&client=firefox-
a&rls=org.mozilla%3Aen-US%3Aofficial_s&q=setlocaltime+site%
3Amsdn.microsoft.com&btnG=Search>



Rob.
-- 
http://www.victim-prime.dsl.pipex.com/



More information about the Python-list mailing list