27 Aug
2000
27 Aug
'00
4:15 a.m.
From: "Peter Be" <peter@grenna.net>
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