Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #40191 > unrolled thread

Re: Issue with continous incrementing of unbroken sequence for a entire working day

Started byChris Angelico <rosuav@gmail.com>
First post2013-03-01 08:50 +1100
Last post2013-03-01 08:50 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Issue with continous incrementing of unbroken sequence for a entire working day Chris Angelico <rosuav@gmail.com> - 2013-03-01 08:50 +1100

#40191 — Re: Issue with continous incrementing of unbroken sequence for a entire working day

FromChris Angelico <rosuav@gmail.com>
Date2013-03-01 08:50 +1100
SubjectRe: Issue with continous incrementing of unbroken sequence for a entire working day
Message-ID<mailman.2689.1362088243.2939.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web