How to increment date by week?
Giorgos Tzampanakis
giorgos.tzampanakis at gmail.com
Tue Jun 4 17:47:02 EDT 2013
On 2013-06-04, PieGuy wrote:
> Starting on any day/date, I would like to create a one year list, by
> week (start date could be any day of week). Having a numerical week
> index in front of date, ie 1-52, would be a bonus.
> ie, 1. 6/4/2013
> 2. 6/11/2013
> 3. 6/18/2013....etc to # 52.
date2 = date1 + datetime.timedelta(7)
--
Real (i.e. statistical) tennis and snooker player rankings and ratings:
http://www.statsfair.com/
More information about the Python-list
mailing list