From: "Peter Be" <[EMAIL PROTECTED]>

> I managed to go from timestamp to date with
> <dtml-var "ZopeTime(967322055)" fmt="%H:%M">
>
> But how do convert a date to timestamp?
> I.e. from say: "27/08/00 23:59" to 967322xxx?
> All I know to begin with is the day, month and year.
>
> Would be nice if I can do this in DTML straight away.
> Is it time.mktime something?

It's DateTime(), defined and documented in
../lib/python/DateTime/DateTime.py.

-- Loren




_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to