Printing time in "at" format?

Roy Smith roy at panix.com
Tue Nov 20 19:24:21 CET 2012


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 at panix.com





More information about the Python-list mailing list