Feb-04-2019, 06:53 PM
It sounds like you want the strftime method of the date object.
>>> today = datetime.date.today() >>> today.strftime('%b %d') 'Feb 04'Full details on the format strings used are docs.
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