On Fri, Mar 1, 2013 at 8:44 AM, Morten Engvoldsen <mortene...@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 -- http://mail.python.org/mailman/listinfo/python-list