Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from datetime import date
- today = date.today()
- jan_first = date(year=today.year, month=1, day=1)
- since = today - jan_first
- since.days
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement