date from day (count) of year

Vincent Davis vincent at vincentdavis.net
Fri Apr 24 15:35:25 CEST 2015


How does one get the date given the day of a year.

>>> dt.datetime.now().timetuple().tm_yday

114
How would I get the Date of the 114 day of 2014?

Vincent Davis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150424/aad974de/attachment.html>


More information about the Python-list mailing list