Click here to Skip to main content
15,904,416 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi..  

I am completely new to python..  I have two dates rangestart = 20170605 and rangeend = 20170916.. I want to divide it into :
20170605-20170630
20170701-20170731
20170801-20170831
20180901-20170916
 want two list of dictionary containing {20170605,20170701,20170801,20170901}
Second {20170630,20170731,20170831,20170916} note that time is in timedelta 20170801and some more integers representing time.  Please help m.  Really struggling hard


What I have tried:

Finding months between dates storing on list n running for loop
Posted
Updated 7-Jul-17 22:32pm

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900