date from day (count) of year

Vincent Davis vincent at vincentdavis.net
Fri Apr 24 16:23:38 CEST 2015


On Fri, Apr 24, 2015 at 8:01 AM, Ian Kelly <ian.g.kelly at gmail.com> wrote:

> >>> dt.date(2014, 1, 1) + dt.timedelta(114 - 1)
> datetime.date(2014, 4, 24)
>

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


More information about the Python-list mailing list