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


Groups > comp.lang.python > #33644

Re: Printing time in "at" format?

Subject Re: Printing time in "at" format?
From Roy Smith <roy@panix.com>
Date 2012-11-20 13:24 -0500
References <k8gagp$gin$1@panix2.panix.com> <50ABC8E5.9010401@tim.thechases.com>
Newsgroups comp.lang.python
Message-ID <mailman.78.1353435864.29569.python-list@python.org> (permalink)

Show all headers | View raw


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"
> 
> 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


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


Thread

Printing time in "at" format? roy@panix.com (Roy Smith) - 2012-11-20 11:18 -0500
  Re: Printing time in "at" format? Tim Chase <python.list@tim.thechases.com> - 2012-11-20 12:16 -0600
  Re: Printing time in "at" format? Roy Smith <roy@panix.com> - 2012-11-20 13:24 -0500
  Re: Printing time in "at" format? Hans Mulder <hansmu@xs4all.nl> - 2012-11-21 13:14 +0100

csiph-web