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


Groups > comp.lang.python > #89369

Re: date from day (count) of year

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!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.082
X-Spam-Evidence '*H*': 0.84; '*S*': 0.00; '8bit%:30': 0.09; 'cc:addr :python-list': 0.11; 'received:209.85.218': 0.14; '24,': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'email addr:gmail.com&gt;': 0.22; 'cc:addr:python.org': 0.22; '&gt;&gt;&gt;': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'subject:) ': 0.29; 'message-id:@mail.gmail.com': 0.30; 'fri,': 0.33; 'subject:from': 0.34; 'subject: (': 0.35; 'received:209.85': 0.35; 'received:google.com': 0.35; 'received:209': 0.37; 'ian': 0.60; 'skip:\xe2 10': 0.65; 'to:addr:gmail.com': 0.65; 'subject:day': 0.69; '8bit%:46': 0.78; '2015': 0.84
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=SXM2tYipQUI3ajkYEq5lpuCg5EQ0vvt0/GPBANJpiik=; b=BHa2TVnmxV/95y3rXax88jVvXgrmC/lOGQjyRAlFmYF4XCBxtLyFpP8EvoWB0n57qX /FYnx7BGKyIfnSVNnddYs8pErvdy+RTvPCprhlGFupoiyGHgLRxugpzUdmtuVnnXXhWp CCcDM8Kf9NGiQVYQU0ovykzaPhI5UQtKf738geuf6ohWkoAGVJ+Zk2CuEDwvlImviu9l KL2KsQ1NctEz8M8Y64340VxKXu4gBNVH7A/Lyk7g7srGTf6fg2i43jSNmLOegrjenomh ZzFTgMz5IWBESe3lGtxfXsiwTT0KOK9q+dpOeUP4nE++E9+cQNdqKarTqCnkBNcqh0EM yy+A==
X-Gm-Message-State ALoCoQluWPbs1A0p3YM9Vr0UDiHLGV5XYkvZkJlgcXyOkFybpGQzXs+DE7U3lJFuQoz1raPTGvbK
X-Received by 10.182.87.8 with SMTP id t8mr7711887obz.35.1429885438673; Fri, 24 Apr 2015 07:23:58 -0700 (PDT)
MIME-Version 1.0
In-Reply-To <CALwzidk7LLtvfohcDPuFE8J0XYLz6p03capvoucvB8Vg64pPLw@mail.gmail.com>
References <CALyJZZXadojH07+icqqqA0hSEb8jM0Op4T=5kfUdkGdUpwn+YQ@mail.gmail.com> <CALwzidk7LLtvfohcDPuFE8J0XYLz6p03capvoucvB8Vg64pPLw@mail.gmail.com>
From Vincent Davis <vincent@vincentdavis.net>
Date Fri, 24 Apr 2015 08:23:38 -0600
Subject Re: date from day (count) of year
To Ian Kelly <ian.g.kelly@gmail.com>
Cc Python <python-list@python.org>
Content-Type multipart/alternative; boundary=089e013c7054a46dae0514792517
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.7.1429885446.3680.python-list@python.org> (permalink)
Lines 30
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1429885446 news.xs4all.nl 2915 [2001:888:2000:d::a6]:49431
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:89369

Show key headers only | View raw


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

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

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

​Thanks!​
Vincent Davis

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


Thread

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

csiph-web