0

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.

Kannan_SJD
  • 1,022
  • 2
  • 13
  • 32

1 Answers1

2

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

Community
  • 1
  • 1
Yorick de Wid
  • 859
  • 11
  • 19