I would like to know this:
I have for example this date:
2011-08-10 wednesday
and i would like to know the next second wednesday of the next month:
The answer should be 2011-09-14 wednesday.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In the comments it was explained that the OP is looking for a function which maps
of the next month) and
because there is no fifth Tuesday in September.)
Using dateutil:
yields