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


Groups > comp.lang.python > #40254

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

Date 2013-03-01 14:09 +0000
From MRAB <python@mrabarnett.plus.com>
Subject Re: Issue with continous incrementing of unbroken sequence for a entire working day
References <CAJ2vgs6zZpHC_p=SuE7QWf7NDvokMjmE1N-aEN3a6n_DXi2=aQ@mail.gmail.com> <CAJ2vgs59t2fkV_T-Kdcb5Mzsr5Q8M8z4P6NwMOftg-Y5zVR8wA@mail.gmail.com> <CAJ2vgs6dawhdDuz7HseGQA+1GPcmY4U2esgYBQzpH2HMOsgfnA@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2724.1362146984.2939.python-list@python.org> (permalink)

Show all headers | View raw


On 2013-03-01 09:42, Morten Engvoldsen wrote:
> Hi,
> Thanks.. :)
> so simply i can use time.strftime("%d%-m-%y  %H:%M")  , and then i can
> compare the date....
>
I think you're only interested in the date, not the time of day:

time.strftime("%d-%m-%y")

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Issue with continous incrementing of unbroken sequence for a entire working day MRAB <python@mrabarnett.plus.com> - 2013-03-01 14:09 +0000

csiph-web