Feb-04-2019, 08:52 PM
What is not working?
>>> text = '2019-04-02' >>> nums = [int(x) for x in text.split('-')] >>> dt = datetime.date(*nums) >>> dt.strptime('%b %d') 'Feb 04'
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures