Skip to content

Instantly share code, notes, and snippets.

@rg3915
Created June 22, 2019 01:00
Show Gist options
  • Select an option

  • Save rg3915/44d6bf897855c43056f29a86a5b10520 to your computer and use it in GitHub Desktop.

Select an option

Save rg3915/44d6bf897855c43056f29a86a5b10520 to your computer and use it in GitHub Desktop.
5º dia quinto dia de cada mês
from datetime import datetime
today = datetime.today()
fifth_day_of_month = today.replace(day=5).date()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment