[Zope] Epoch time use

coder@kanga.nu coder@kanga.nu
Fri, 14 Jan 2000 14:02:17 -0800


How do I:

  a) Get the time in terms of seconds from the epoch (standard unix
     time_t ala 1970)?

  b) Translate a time_t value under Zope into human readable ala
     ctime() or DateTime?

I don't see that the DateTime class can do this per the DTML guide
and I have an external DB that relies on time_t based indexing.  Do
I really have to write an external method?

-- 
J C Lawrence                              Internet: claw@kanga.nu
----------(*)                            Internet: coder@kanga.nu
...Honorary Member of Clan McFud -- Teamer's Avenging Monolith...