Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.unit0.net!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'received:166': 0.05; 'api': 0.09; 'accepts': 0.09; 'parsed': 0.09; 'to:addr:python.list': 0.09; 'to:addr:tim.thechases.com': 0.09; 'to:name:tim chase': 0.09; 'cc:addr:python-list': 0.10; '*and': 0.16; 'formats.': 0.16; 'former,': 0.16; 'merely': 0.16; 'query,': 0.16; 'received:166.84': 0.16; 'received:166.84.1': 0.16; 'received:166.84.1.89': 0.16; 'received:mailbackend.panix.com': 0.16; 'received:panix.com': 0.16; 'roy': 0.16; 'string': 0.17; 'wrote:': 0.17; 'tim': 0.18; 'cc:2**0': 0.23; 'statement': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header :In-Reply-To:1': 0.25; '---': 0.26; 'chase': 0.29; 'turns': 0.33; 'nov': 0.35; 'pm,': 0.35; 'posting': 0.35; 'subject:?': 0.35; 'subject:" ': 0.36; 'subject:: ': 0.38; 'your': 0.60; 'header :Message-Id:1': 0.62; 'wide': 0.62; '20,': 0.65; 'smith': 0.71; 'discovered': 0.83; 'email addr:panix.com': 0.84; 'fortunately,': 0.84 Subject: Re: Printing time in "at" format? Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=iso-8859-1 From: Roy Smith In-Reply-To: <50ABC8E5.9010401@tim.thechases.com> Date: Tue, 20 Nov 2012 13:24:21 -0500 Content-Transfer-Encoding: quoted-printable References: <50ABC8E5.9010401@tim.thechases.com> To: Tim Chase X-Mailer: Apple Mail (2.1283) Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1353435865 news.xs4all.nl 6872 [2001:888:2000:d::a6]:58299 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:33644 On Nov 20, 2012, at 1:16 PM, Tim Chase wrote: > Your statement can be ambiguously parsed as "I need to merely > *generate* time specifications that 'at' can parse", or it can be > parsed as "I need to generate *and consume* time specifications the > same way as 'at' does" >=20 > If it's the former, it's pretty easy--'at' accepts a wide variety of > formats. Fortunately, it's the former. Since posting my original query, I have discovered by experimentation = that the API also accepts a string of digits as a unix timestamp, so = this turns out to be trivial. --- Roy Smith roy@panix.com