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


Groups > comp.lang.python > #76281

Re: how to change the time string into number?

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: how to change the time string into number?
Date 2014-08-14 09:35 +0100
References <53EC14EC.2090503@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.12982.1408005332.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 14/08/2014 02:46, luofeiyu wrote:
> s="Aug"
>
> how can i change it into 8 with some python time module?

If all else fails, read the instructions, so start here 
https://docs.python.org/3/library/datetime.html#module-datetime

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

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


Thread

Re: how to change the time string into number? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-08-14 09:35 +0100

csiph-web