datetime

Terry Reedy tjreedy at udel.edu
Thu Sep 13 19:28:35 EDT 2012


On 9/13/2012 3:06 PM, readmax wrote:
> 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"?

Read the doc.

> BTW, if by "version 3.3" you mean python 3

x.y in the doc means pythonx.y

-- 
Terry Jan Reedy




More information about the Python-list mailing list