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


Groups > comp.lang.python > #59201

Re: datetime question

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.117
X-Spam-Level *
X-Spam-Evidence '*H*': 0.80; '*S*': 0.03; 'subject:question': 0.10; 'docs.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'simple.': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'help.': 0.21; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'to?': 0.30; 'message-id:@mail.gmail.com': 0.30; '13,': 0.31; 'received:google.com': 0.35; 'next': 0.36; 'server': 0.38; 'thank': 0.38; 'nov': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'read': 0.60; 'believe': 0.68; 'discover': 0.82; 'joel': 0.91; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=jUf/YGjJHDQPZm861GW4Swd4HnsnAbAB4mWoLykFHP4=; b=jyHf6wMc7Z9EbR6acNp/SIDRHi8J2tAWeaanDYSOCCQV5YGvjt02u7uBaEACBiT15y KyDY/IzV08yTCvh8Z710JsmTz1UZdwQjR3Lv2z8JkK2UayZ3zsegIhTl0M8b6cUY9JfC UgCSJXzoa6fW5MyVjEW6SEL61eqaan70tGsI1RWKyxqleegU1Wip93cqLSdUktIJaF+U cXscIVvrqltprWl4M61ocXZJnJEKnrIfH99pNq/3MK746lD9eEdDWlM3lMShi1Bjydh3 J2HQhMBTUo+gHMLAxoF2DVjj1v48vr+7zjGIIReDuqijKr8Zs2Y+3bWgmr8spcmt0nOz osAw==
MIME-Version 1.0
X-Received by 10.66.25.239 with SMTP id f15mr12507511pag.136.1384268255123; Tue, 12 Nov 2013 06:57:35 -0800 (PST)
In-Reply-To <l5td0v$a2$4@dont-email.me>
References <l5jk15$de$1@dont-email.me> <l5sv4a$a2$1@dont-email.me> <mailman.2459.1384260501.18130.python-list@python.org> <l5tam0$a2$2@dont-email.me> <mailman.2463.1384265037.18130.python-list@python.org> <l5td0v$a2$4@dont-email.me>
Date Wed, 13 Nov 2013 01:57:34 +1100
Subject Re: datetime question
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
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.2466.1384268259.18130.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1384268259 news.xs4all.nl 15886 [2001:888:2000:d::a6]:36495
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:59201

Show key headers only | View raw


On Wed, Nov 13, 2013 at 1:12 AM, Ferrous Cranus <nikos.gr33k@gmail.com> wrote:
> Joel i must thank you for your help.
>
> I cannot believe it was so simple.
>
> Tnhe server is self aware of its location so why use utcnow() + timedelte(
> some_digit_here ) when you can just use just now()

Did you ever go and look at the docs, like you were advised to?

Next time you have a problem, go read the docs. You never know, you
might discover something!

ChrisA

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


Thread

datetime question Νίκος Αλεξόπουλος <nikos.gr33k@gmail.com> - 2013-11-08 23:11 +0200
  Re: datetime question Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-08 21:29 +0000
    Re: datetime question Νίκος Αλεξόπουλος <nikos.gr33k@gmail.com> - 2013-11-09 00:01 +0200
      Re: datetime question Joel Goldstick <joel.goldstick@gmail.com> - 2013-11-08 17:06 -0500
        Re: datetime question rurpy@yahoo.com - 2013-11-11 14:49 -0800
          Re: datetime question Joel Goldstick <joel.goldstick@gmail.com> - 2013-11-11 18:18 -0500
      Re: datetime question Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-08 22:18 +0000
      Re: datetime question Grant Edwards <invalid@invalid.invalid> - 2013-11-08 22:29 +0000
        Re: datetime question Chris Angelico <rosuav@gmail.com> - 2013-11-09 09:39 +1100
          Re: datetime question Roy Smith <roy@panix.com> - 2013-11-09 10:30 -0500
        Re: datetime question Gene Heskett <gheskett@wdtv.com> - 2013-11-09 10:39 -0500
        Re: datetime question Chris Angelico <rosuav@gmail.com> - 2013-11-10 09:25 +1100
      Re: datetime question Denis McMahon <denismfmcmahon@gmail.com> - 2013-11-08 22:49 +0000
        Re: datetime question Νίκος Αλεξόπουλος <nikos.gr33k@gmail.com> - 2013-11-09 01:02 +0200
          Re: datetime question Robert Kern <robert.kern@gmail.com> - 2013-11-08 23:23 +0000
          Re: datetime question Chris Angelico <rosuav@gmail.com> - 2013-11-09 10:30 +1100
          Re: datetime question Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-09 00:12 +0000
          Re: datetime question Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-09 12:45 +0000
            Re: datetime question Νίκος Αλεξόπουλος <nikos.gr33k@gmail.com> - 2013-11-09 15:43 +0200
              Re: datetime question unknown <unknown@unknown.com> - 2013-11-10 12:52 +0000
          Re: datetime question Chris Angelico <rosuav@gmail.com> - 2013-11-09 23:52 +1100
  Re: datetime question Gene Heskett <gheskett@wdtv.com> - 2013-11-09 19:55 -0500
  Re: datetime question Chris Angelico <rosuav@gmail.com> - 2013-11-10 19:47 +1100
  Re: datetime question Gene Heskett <gheskett@wdtv.com> - 2013-11-10 04:13 -0500
  Re: datetime question Νίκος Αλεξόπουλος <nikos.gr33k@gmail.com> - 2013-11-11 11:57 +0200
    Re: datetime question Joel Goldstick <joel.goldstick@gmail.com> - 2013-11-11 08:41 -0500
      Re: datetime question Roy Smith <roy@panix.com> - 2013-11-11 09:14 -0500
        Re: datetime question Chris Angelico <rosuav@gmail.com> - 2013-11-12 01:25 +1100
        Re: datetime question Joel Goldstick <joel.goldstick@gmail.com> - 2013-11-11 09:36 -0500
        Re: datetime question Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-11-11 20:59 -0500
        Re: datetime question Chris Angelico <rosuav@gmail.com> - 2013-11-12 13:02 +1100
        Re: datetime question Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-11-11 21:02 -0500
        Re: datetime question Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-11-12 19:30 -0500
        Re: datetime question Chris Angelico <rosuav@gmail.com> - 2013-11-13 11:40 +1100
    Re: datetime question Denis McMahon <denismfmcmahon@gmail.com> - 2013-11-11 19:19 +0000
      Re: datetime question Ethan Furman <ethan@stoneleaf.us> - 2013-11-11 11:39 -0800
        Re: datetime question Grant Edwards <invalid@invalid.invalid> - 2013-11-11 20:45 +0000
        Re: datetime question mm0fmf <none@mailinator.com> - 2013-11-11 23:21 +0000
          Re: datetime question Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-11 23:48 +0000
            Re: datetime question Grant Edwards <invalid@invalid.invalid> - 2013-11-12 04:49 +0000
              Re: datetime question alex23 <wuwei23@gmail.com> - 2013-11-12 17:25 +1000
                Re: datetime question Chris Angelico <rosuav@gmail.com> - 2013-11-12 18:35 +1100
                Re: datetime question Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-12 09:20 +0000
              Re: datetime question Roy Smith <roy@panix.com> - 2013-11-12 09:18 -0500
  Re: datetime question Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-11-12 12:15 +0200
    Re: datetime question Andy Lawton <andy@andylawton.eu> - 2013-11-12 12:47 +0000
      Re: datetime question Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-11-12 15:32 +0200
        Re: datetime question Joel Goldstick <joel.goldstick@gmail.com> - 2013-11-12 09:03 -0500
          Re: datetime question Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-11-12 16:12 +0200
            Re: datetime question Chris Angelico <rosuav@gmail.com> - 2013-11-13 01:57 +1100
              Re: datetime question Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-11-12 17:24 +0200
                Re: datetime question Tim Chase <python.list@tim.thechases.com> - 2013-11-12 09:54 -0600
                Re: datetime question Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-11-12 17:57 +0200
                Re: datetime question Tim Chase <python.list@tim.thechases.com> - 2013-11-12 10:12 -0600
                Re: datetime question William Ray Wing <wrw@mac.com> - 2013-11-12 11:14 -0500
                Re: datetime question Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-12 16:30 +0000
                Re: datetime question MRAB <python@mrabarnett.plus.com> - 2013-11-12 19:09 +0000
                Re: datetime question Joel Goldstick <joel.goldstick@gmail.com> - 2013-11-12 14:14 -0500
                Re: datetime question Denis McMahon <denismfmcmahon@gmail.com> - 2013-11-12 19:24 +0000
                Re: datetime question Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-11-12 19:38 -0500
                Re: datetime question Chris Angelico <rosuav@gmail.com> - 2013-11-13 09:42 +1100
                Re: datetime question Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-11-12 19:37 -0500
                Re: datetime question MRAB <python@mrabarnett.plus.com> - 2013-11-13 01:08 +0000
                Re: datetime question Alister <alister.ware@ntlworld.com> - 2013-11-12 16:11 +0000
                Re: datetime question Roy Smith <roy@panix.com> - 2013-11-12 19:43 -0500
      Re: datetime question Denis McMahon <denismfmcmahon@gmail.com> - 2013-11-12 19:20 +0000

csiph-web