[Zope] Epoch time use

J C Lawrence claw@kanga.nu
Fri, 14 Jan 2000 17:11:46 -0800


On Fri, 14 Jan 2000 17:48:21 -0500 
Jerry Spicklemire <Jerry.Spicklemire@IFLYATA.COM> wrote:

> Actually, it doesn't work that way at all. I must have repressed
> the hours it took to verify that you can't use a fmt=XXX in
> REQUEST.set. You can do this, however :

> It is now <dtml-var "_.DateTime()" fmt="AMPM">.

Okay, that answers half the question (how to get the human readable
side from a time_t).  The other half is how do I get the Epoch time
in the first place?  I don't see an API for that...

> BTW, see
> http://lists.zope.org/pipermail/zope/1999-September/009657.html

Thanks.  

-- 
J C Lawrence                                 Home: claw@kanga.nu
----------(*)                              Other: coder@kanga.nu
--=| A man is as sane as he is dangerous to his environment |=--