Convert Year/Month/Day to Day of Year in Python,day_of_year = datetime.now().timetuple().tm_yday