I solved it .. It look so simple now.. :)
Thx for the help..
User Profile
Collapse
-
Thx for quick reply,
I understand the principle of incrementing days, but how to store each day into list or tuple?
In C I would have something like
DATES=[]
number of days=30
start_date= ...
end_date= ...
while (start_date <= end_date)
{
for(i=0; i<30; i++)
DATES[i]=start_date;
start_date++;
}...Leave a comment:
-
How to create list of dates between two dates?
Hello,
I am a beginner in python, and have a question..
I need to create a list of all dates between two dates..
Lets say beggining date= 2008-1-15
enddate= 2008-2-20
how do I get a list
dates = [2008-1-15, 2008-1-16,...,2008-2-20] ?
No activity results to display
Show More
Leave a comment: