python day on a day moneth year code example
Example: python datetime day of 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