Kelsey Jordahl
@kajord
(Python 2.x can only format years >= 1900)
8/1/2013, 6:08:03 PM
Favs: 0
Retweets: 1
link← @kajord Twitter archive
Kelsey Jordahl
@kajord
(Python 2.x can only format years >= 1900)
8/1/2013, 6:08:03 PM
Favs: 0
Retweets: 1
linkKelsey Jordahl
@kajord
except that was a badly formatted example in Python 3. I'll try again.
8/1/2013, 6:10:10 PM
Favs: 0
Retweets: 0
linkKelsey Jordahl
@kajord
Python 3 can format years >= 1:
>>> from datetime import datetime
>>> datetime(100, 2, 5).strftime('%Y %b %d')
'0100 Feb 05'
8/1/2013, 6:11:27 PM
Favs: 0
Retweets: 0
link