Create a list of dates for same day of week in a year
Sayth Renshaw
flebber.crue at gmail.com
Tue Jun 27 22:48:07 EDT 2017
Afternoon
Is there an obvious method I am missing in creating a list of dates? I want to get a list of each Saturday and each Wednesday for the year 2017.
It seems and maybe this is where I am wrong but doesn't the datetime library already know the dates if yes is there an easy way to query it?
Also checked out Python Arrow http://arrow.readthedocs.io/en/latest/ as it expands on the python standard library but I couldn't find an obvious example of this.
Thoughts or examples?
Cheers
Sayth
More information about the Python-list
mailing list