Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #40191
| References | <CAJ2vgs6zZpHC_p=SuE7QWf7NDvokMjmE1N-aEN3a6n_DXi2=aQ@mail.gmail.com> <CAJ2vgs6iQuqKLUZPKq8wm9=x4mj4gzF+94g=afRARuxsByVAHQ@mail.gmail.com> <CAJ2vgs4GECUwwJ+zwMn+BopS1MSDiC0y39dZeExj_TqE9ndBYA@mail.gmail.com> |
|---|---|
| Date | 2013-03-01 08:50 +1100 |
| Subject | Re: Issue with continous incrementing of unbroken sequence for a entire working day |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2689.1362088243.2939.python-list@python.org> (permalink) |
On Fri, Mar 1, 2013 at 8:44 AM, Morten Engvoldsen <mortenengv@gmail.com> wrote: > Hi, > Thanks all for suggestion... > > I am using current date as current date local time. I think > datetime.datetime will provide current local date and time, so > hopefullt the function take care > if the local clock is changed... The worst that can happen is that the date changes and your serial resets when it shouldn't. Can you cope with that? (Or just blame it on the user and let them cope?) If so, it's easy. ChrisA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Issue with continous incrementing of unbroken sequence for a entire working day Chris Angelico <rosuav@gmail.com> - 2013-03-01 08:50 +1100
csiph-web