Reputation: 1062
IS there any way I can find the first day of the current week in python. Similarly for current month and 3 months before. This is for a filter based in periods.
I am very new to python. I am extremely sorry, if this is a stupid Question.
Thanks in advance.
Upvotes: 0
Views: 1178
Reputation: 929
The question has been asked many times before. Please have a look at In Python, how do I find the date of the first Monday of a given week? That should help you getting on the right track
Upvotes: 2