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

Discussion in 'Python' started by Chris Angelico, Feb 28, 2013.

  1. On Fri, Mar 1, 2013 at 8:44 AM, Morten Engvoldsen <> 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
     
    Chris Angelico, Feb 28, 2013
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Vytas D.
    Replies:
    0
    Views:
    123
    Vytas D.
    Feb 28, 2013
  2. Morten Engvoldsen
    Replies:
    2
    Views:
    129
    Chris Angelico
    Feb 28, 2013
  3. Matt Jones
    Replies:
    0
    Views:
    135
    Matt Jones
    Feb 28, 2013
  4. Morten Engvoldsen
    Replies:
    1
    Views:
    115
    Rick Johnson
    Feb 28, 2013
  5. Morten Engvoldsen
    Replies:
    0
    Views:
    146
    Morten Engvoldsen
    Feb 28, 2013
Loading...

Share This Page