[Zope] Getting the epoch time as an integer

J C Lawrence claw@kanga.nu
Sun, 23 Jan 2000 23:00:04 -0800


How do I get the current time as the number of seconds since the
Epoch?

I know I can use ZopeTime in various interesting ways to get a
pretty string that expresses the current time/date in human readable
format.  I don't want that.  I want the raw integer number of
seconds since 1970.  I've been thru the HOW-TO, thru the DTML guide
and all the option and format strings and I just don't see it (or
I'm going blind).  Surely there's a way to get just the raw time_t?

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