which day of the year is it code example
Example: today's day of the year
from datetime import datetime
day_of_year = datetime.now().timetuple().tm_yday
from datetime import datetime
day_of_year = datetime.now().timetuple().tm_yday