I have a string \"2012.11.07\" in python. I need to convert it to date object and then get an integer value of day of year and also Julian day
\"2012.11.07\"
From the above examples, here is the one liner (non-Julian):
import datetime doy = datetime.datetime.strptime('2014-01-01', '%Y-%m-%d').timetuple().tm_yday