timesync with python?

Fredrik Lundh fredrik at pythonware.com
Thu Sep 16 07:32:27 EDT 1999


Holger Jannsen <holger at phoenix-edv.netzservice.de> wrote:
> another question I couldn't solve:
> I'm searching for a function to set local time, but
> couldn't find it in description of module 'time' 
> neither other documentations.

(eff-bot is down for maintenance, so I'll make
an attempt to answer this one myself)

it's platform specific.  on unix, you can use
the date command (provided you're super-
user).  on windows, use the date and time
commands, or call SetTimeAdjustment (or
whatever it's called).  etc.

if someone knows of a better method, let
us know...

</F>





More information about the Python-list mailing list