Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #29089
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Subject | Re: datetime |
| Date | 2012-09-13 19:28 -0400 |
| References | <loom.20120913T170328-631@post.gmane.org> <k2t7ds$ffb$1@ger.gmane.org> <loom.20120913T205603-284@post.gmane.org> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.650.1347578956.27098.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: datetime Terry Reedy <tjreedy@udel.edu> - 2012-09-13 19:28 -0400
csiph-web