Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #89366

date from day (count) of year

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <vincent@vincentdavis.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.194
X-Spam-Level *
X-Spam-Evidence '*H*': 0.62; '*S*': 0.01; 'received:209.85.218': 0.14; '>>>': 0.22; 'to:name:python-list@python.org': 0.22; '&gt;&gt;&gt;': 0.24; 'subject:) ': 0.29; 'message- id:@mail.gmail.com': 0.30; 'subject:from': 0.34; 'subject: (': 0.35; 'received:209.85': 0.35; 'received:google.com': 0.35; 'received:209': 0.37; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'year.': 0.61; 'subject:day': 0.69; 'day': 0.76
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=ZRlUyYg9U2ApyPWLEnOoebOvjdCTvj/KxPo5yYlOaBY=; b=dz3qvl9PK5aNsUf+Z9ImyWEku6mNUdyzvqyqVAOXcQV/qzpyfI2sSA71rugzZhYNhi 31TuQjcfwsxCVZ2WQ3S/b8rPhoo3pQFqA/lRkYlgiuMO6ZhNTyJ/fmrhVACSmqThICU5 vIQ7zxWNZgOjJl5j/nWHNygUVCJ7/ixdlKHBj14CaoPTF0kqZl1WDmqe1Iej9UHlYC70 U6jqkbjstFrzl6/fO7o+DyOFraX9cBQ0uIjwuNJGo6O7llVtva78owvdOVXulb3II6nf GZGmFUP+faTf0ugT0dUoCs2m6p52o0WPB++GV+DoW0ZVefv5fIfxQt4AE/lOe4Yr+bgQ +kEQ==
X-Gm-Message-State ALoCoQlTv6fc2qsChiuofunXLWebFxu4LdB2T79FZoO4se28VOm56DhoY+J9KfGOo6rPDP5sDya4
X-Received by 10.182.153.74 with SMTP id ve10mr7257638obb.54.1429882545411; Fri, 24 Apr 2015 06:35:45 -0700 (PDT)
MIME-Version 1.0
From Vincent Davis <vincent@vincentdavis.net>
Date Fri, 24 Apr 2015 07:35:25 -0600
Subject date from day (count) of year
To "python-list@python.org" <python-list@python.org>
Content-Type multipart/alternative; boundary=089e013a0ba830ac2305147879af
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3.1429883007.3680.python-list@python.org> (permalink)
Lines 37
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1429883007 news.xs4all.nl 2840 [2001:888:2000:d::a6]:34599
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:89366

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

date from day (count) of year Vincent Davis <vincent@vincentdavis.net> - 2015-04-24 07:35 -0600

csiph-web