On 03/06/15 22:16, Alex Kleider wrote:
On 2015-06-03 12:53, Alan Gauld wrote:
...
If this is really about parsing dates and times have
you looked at the datetime module and its parsing/formatting
functions (ie strptime/strftime)?

I asssume strftime gets its name from 'string from time.'
What about strptime? How did that get its name?

f = format - for creating date/time strings
p = parse - for extracting date/time fierlds from a string

--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to