datetime

readmax readmax at hushmail.com
Thu Sep 13 15:06:23 EDT 2012


Terry Reedy <tjreedy <at> udel.edu> writes:


> You did not specify *which* time to set, but ...

> 
> If you mean time.clock_shift(clk_id, shift_seconds), no.
> 
> time.clock_settime(clk_id, time.clock_gettime(clk_id) + delta_seconds)
> 

I am talking about the system-wide clock on Debian.
What should I use as "clk_id"?

BTW, if by "version 3.3" you mean python 3, I am only using 2.x.






More information about the Python-list mailing list