Obtenez le premier du mois en cours Python
from datetime import datetime, date
print(date.today().replace(day=1))
DeepMatter
from datetime import datetime, date
print(date.today().replace(day=1))
from datetime import datetime
datetime.today().replace(day=1)
oldest = min(datetimes)