The random ramblings of a software engineer
import timeprint time.strftime("%j")
I've since realized that the Julian day is actually a different format, and the day referred to in this article is the ordinal date (http://en.wikipedia.org/wiki/ISO_8601#Ordinal_dates).
You should have asked me ;-)import datetimedatetime.datetime.timetuple () [7]
Post a Comment
2 comments:
I've since realized that the Julian day is actually a different format, and the day referred to in this article is the ordinal date (http://en.wikipedia.org/wiki/ISO_8601#Ordinal_dates).
You should have asked me ;-)
import datetime
datetime.datetime.timetuple () [7]
Post a Comment