Kannan_SJD
Kannan_SJD

Reputation: 1062

get first day of this week in python

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

Answers (1)

Yorick de Wid
Yorick de Wid

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

Related Questions